Before the error happened, I was…
doing anki then it stopped working. i restarted my computer and still nothing works
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.3-arm64-arm-64bit
Traceback (most recent call last):
File "aqt.taskman", line 142, in _on_closures_pending
File "/Users/natilec/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/natilec/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
return func(*args, **kwargs)
File "/Users/natilec/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/natilec/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/natilec/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 65, in update_decks_and_media
self._update_decks(ah_dids)
File "/Users/natilec/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 88, in _update_decks
should_continue = self._update_single_deck(ah_did)
File "/Users/natilec/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 102, in _update_single_deck
result = self._fetch_and_apply_deck_updates(ankihub_did)
File "/Users/natilec/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 139, in _fetch_and_apply_deck_updates
import_result = self._importer.import_ankihub_deck(
File "/Users/natilec/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 145, in import_ankihub_deck
self._import_note_types(note_types=note_types)
File "/Users/natilec/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 188, in _import_note_types
_adjust_note_types_in_anki_db(note_types)
File "/Users/natilec/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 754, in _adjust_note_types_in_anki_db
_update_templates_and_css(remote_note_types)
File "/Users/natilec/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 793, in _update_templates_and_css
aqt.mw.col.models.update_dict(updated_note_type)
File "anki.models", line 226, in update_dict
File "anki._backend_generated", line 1065, in update_notetype_legacy
File "anki._backend", line 166, in _run_command
anki.errors.DBError: DbError { info: "SqliteFailure(Error { code: DatabaseCorrupt, extended_code: 11 }, Some(\"database disk image is malformed\"))", kind: Other }