Error

Bobby Anderson 's Avatar

Bobby Anderson

30 Oct, 2019 11:35 AM

Unable to switch profile sync or do anything, only use anki on laptop. I get this error. When i try to switch profile, or quit the app, I get stuck on 'backing up' for hours and it never stops, even though my collection is relatively small.

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.15 (442df9d6) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.12.6
Flags: frz=True ao=False sv=1

Caught exception:
  File "aqt/main.py", line 1079, in onCheckDB
  File "anki/collection.py", line 760, in fixIntegrity
  File "anki/db.py", line 65, in scalar
<class 'sqlite3.DatabaseError'>: database disk image is malformed

  1. Support Staff 1 Posted by Damien Elmes on 30 Oct, 2019 10:30 PM

    Damien Elmes's Avatar

    Your collection is corrupt, so you'll need to restore from an automatic backup: Restoring an Automatic Backup (Recovering from Data Loss)

  2. 2 Posted by Carolr7 on 02 Nov, 2019 10:53 AM

    Carolr7's Avatar

    [image: Screen Shot 2019-11-02 at 11.52.03.png]
    doesn't let me switch profile, I'm always stuck on backing up..

  3. Support Staff 3 Posted by Damien Elmes on 02 Nov, 2019 10:08 PM

    Damien Elmes's Avatar

    Please manually rename your User 1 folder, then start Anki again. https://apps.ankiweb.net/docs/manual.html#file-locations

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac