Before the error happened, I was…
[Replace this text.]
Error message (don't change this)
Anki 24.06.3 (d678e393) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.26200
Traceback (most recent call last):
File "aqt.taskman", line 142, in _on_closures_pending
File "aqt.taskman", line 86, in <lambda>
File "aqt.operations", line 252, in wrapped_done
File "C:\Users\dowea\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 64, in on_failure
raise exception
File "concurrent.futures.thread", line 58, in run
File "aqt.operations", line 242, in wrapped_op
File "C:\Users\dowea\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 68, in <lambda>
op=lambda _: self._update_deck_media_and_download_missing_media(),
File "C:\Users\dowea\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 136, in _update_deck_media_and_download_missing_media
missing_media_names = self._missing_media_for_ah_deck(ah_did)
File "C:\Users\dowea\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 214, in _missing_media_for_ah_deck
referenced_media = self._media_referenced_by_notes(ah_did)
File "C:\Users\dowea\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 195, in _media_referenced_by_notes
note = aqt.mw.col.get_note(nid)
File "anki.collection", line 490, in get_note
File "anki.notes", line 49, in __init__
File "anki.notes", line 57, in load
File "anki.notes", line 67, in _load_from_backend_note
File "anki.notes", line 133, in note_type
File "anki.models", line 163, in get
File "anki._backend_generated", line 1137, in get_notetype_legacy
File "anki._backend", line 171, in _run_command
anki.errors.InvalidInput: CollectionNotOpen