Trying to get the decks

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 2.1.64 (581f82c5) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.22621
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2024-02-18 20:43:20

Traceback (most recent call last):

  File "aqt.sync", line 146, in callback

  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 "C:\Users\Wolf\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\subdecks.py", line 61, 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 "C:\Users\Wolf\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\subdecks.py", line 53, in <lambda>
    task=lambda: build_subdecks_and_move_cards_to_them(ankihub_id),

  File "C:\Users\Wolf\AppData\Roaming\Anki2\addons21\1322529746\main\subdecks.py", line 56, in build_subdecks_and_move_cards_to_them
    nid_to_dest_deck_name = _nid_to_destination_deck_name(

  File "C:\Users\Wolf\AppData\Roaming\Anki2\addons21\1322529746\main\subdecks.py", line 94, in _nid_to_destination_deck_name
    tags_str = aqt.mw.col.db.scalar("SELECT tags FROM notes WHERE id = ?", nid)

AttributeError: 'NoneType' object has no attribute 'scalar'

Sentry link (for developers)

Did this appear after Anki asked you about a full sync?