Before the error happened, I was…
[Replace this text.]
Error message (don't change this)
Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-14.6.1-x86_64-i386-64bit
Traceback (most recent call last):
File "aqt.taskman", line 142, in _on_closures_pending
File "/Users/Omar/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 99, in sync_with_ankiweb
future.result()
File "concurrent.futures._base", line 439, in result
File "concurrent.futures._base", line 391, in __get_result
File "/Users/Omar/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
return func(*args, **kwargs)
File "/Users/Omar/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 118, in _on_sync_done
future.result()
File "concurrent.futures._base", line 439, in result
File "concurrent.futures._base", line 391, in __get_result
File "concurrent.futures.thread", line 58, in run
File "/Users/Omar/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 110, in <lambda>
task=lambda: ah_deck_updater.update_decks_and_media(to_sync_ah_dids),
File "/Users/Omar/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 61, in update_decks_and_media
self._update_decks(ah_dids)
File "/Users/Omar/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 84, in _update_decks
should_continue = self._update_single_deck(ah_did)
File "/Users/Omar/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 98, in _update_single_deck
result = self._fetch_and_apply_deck_updates(ankihub_did)
File "/Users/Omar/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 135, in _fetch_and_apply_deck_updates
import_result = self._importer.import_ankihub_deck(
File "/Users/Omar/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 147, in import_ankihub_deck
dids = self._import_notes(
File "/Users/Omar/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 250, in _import_notes
self._delete_notes_or_mark_as_deleted(
File "/Users/Omar/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 378, in _delete_notes_or_mark_as_deleted
aqt.mw.col.db.list(
File "anki.dbproxy", line 76, in list
File "anki.dbproxy", line 65, in _query
File "anki._backend", line 98, in db_query
File "anki._backend", line 122, in _db_command
anki.errors.DBError: DbError { info: "SqliteFailure(Error { code: DatabaseCorrupt, extended_code: 11 }, Some(\"database disk image is malformed\"))", kind: Other }