Initial download error

**Before the error happened, I was dowloading ankihub for the first time

Error message (don't change this)
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.7.1-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-12-26 10:40: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 "/Users/christiansahadi/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/christiansahadi/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/christiansahadi/Library/Application Support/Anki2/addons21/1322529746/main/subdecks.py", line 59, in build_subdecks_and_move_cards_to_them
    nid_to_dest_deck_name = _nid_to_destination_deck_name(

  File "/Users/christiansahadi/Library/Application Support/Anki2/addons21/1322529746/main/subdecks.py", line 97, 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)

Hello,

It’s quite likely that you may want, or need, to update the version of Anki you’re using as the current version that you are running is quite dated and this can be the source of a number of compatibility issues with various add-ons.

The most current version of Anki (in this case 24.11) can always be downloaded from the Anki website: https://apps.ankiweb.net/

Please let me know if that answers your question, and if there’s anything else I can help with. :slight_smile: