Suddenly an Anki Error

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.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=False sv=1
Add-ons, last update check: 2022-10-26 13:54:42

Caught exception:
Traceback (most recent call last):
File “aqt.taskman”, line 122, in _on_closures_pending
File “aqt.taskman”, line 71, in
File “aqt.taskman”, line 90, in wrapped_done
File “aqt.dbcheck”, line 41, in on_future_done
File “concurrent.futures._base”, line 438, in result
File “concurrent.futures._base”, line 390, in __get_result
File “concurrent.futures.thread”, line 52, in run
File “aqt.dbcheck”, line 36, in do_check
File “aqt.main”, line 1385, in create_backup_now
File “anki.collection”, line 370, in create_backup
File “anki.collection”, line 243, in save
File “anki.dbproxy”, line 39, in commit
File “anki._backend”, line 93, in db_commit
File “anki._backend”, line 106, in _db_command
anki.errors.DBError: DbError { info: “SqliteFailure(Error { code: DatabaseCorrupt, extended_code: 11 }, Some("database disk image is malformed"))”, kind: Other }

If Tools>Check Database reports an error, you can try restoring from a backup
https://faqs.ankiweb.net/restoring-an-automatic-backup-recovering-from-data-loss.html

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.