**Before the error happened, I was… uploading and syncing the anking mcat deck
Error message (don't change this)
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-14.5-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-07-03 14:24:57
Traceback (most recent call last):
File "aqt.taskman", line 122, in _on_closures_pending
File "aqt.taskman", line 71, in <lambda>
File "aqt.taskman", line 90, in wrapped_done
File "aqt.sync", line 119, in on_future_done
File "decorator", line 232, in fun
File "anki.hooks", line 89, in decorator_wrapper
File "anki.hooks", line 86, in repl
File "/Users/cindy/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 194, in _upload_if_full_sync_triggered_by_ankihub
aqt.sync.full_upload(mw, on_done) # type: ignore
File "aqt.sync", line 248, in full_upload
File "aqt.taskman", line 92, in with_progress
File "aqt.taskman", line 62, in run_in_background
File "aqt.taskman", line 122, in _on_closures_pending
File "aqt.taskman", line 71, in <lambda>
File "aqt.taskman", line 90, in wrapped_done
File "/Users/cindy/Library/Application Support/Anki2/addons21/1322529746/gui/operations/subdecks.py", line 76, in _on_subdecks_updated
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/cindy/Library/Application Support/Anki2/addons21/1322529746/gui/operations/subdecks.py", line 25, in <lambda>
task=lambda: build_subdecks_and_move_cards_to_them(
File "/Users/cindy/Library/Application Support/Anki2/addons21/1322529746/main/subdecks.py", line 70, in build_subdecks_and_move_cards_to_them
move_notes_to_decks_while_respecting_odid(nid_to_did=nid_to_did)
File "/Users/cindy/Library/Application Support/Anki2/addons21/1322529746/main/utils.py", line 148, in move_notes_to_decks_while_respecting_odid
cids = aqt.mw.col.db.list(f"SELECT id FROM cards WHERE nid={nid}")
AttributeError: 'NoneType' object has no attribute 'list'