Add on error message and can't use anki

says all of this

Anki 2.1.46 (94913ec2) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.15.5
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2022-05-17 17:00:04

Caught exception:
Traceback (most recent call last):
File “anki/collection.py”, line 1025, in fix_integrity
File “anki/_backend/generated.py”, line 882, in check_database
File “anki/_backend/init.py”, line 131, in _run_command
anki.errors.DBError: Collection file is corrupt. Please restore from an automatic backup.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “aqt/taskman.py”, line 101, in _on_closures_pending
File “aqt/taskman.py”, line 71, in
File “aqt/taskman.py”, line 90, in wrapped_done
File “aqt/dbcheck.py”, line 36, in on_future_done
File “concurrent/futures/_base.py”, line 432, in result
File “concurrent/futures/_base.py”, line 388, in __get_result
File “concurrent/futures/thread.py”, line 57, in run
File “anki/collection.py”, line 1029, in fix_integrity
IndexError: tuple index out of range

Please see Restoring an Automatic Backup (Recovering from Data Loss) - Frequently Asked Questions

Hi sorry can you walk me through it a little more I am not good with technology

Follow the steps in this section Backups - Anki Manual

You probably want to choose the most recent backup.

2 Likes