Error

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.22621

Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "C:\Users\HP\AppData\Roaming\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 "C:\Users\HP\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\HP\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 124, in _on_sync_done
    maybe_check_databases()

  File "C:\Users\HP\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\__init__.py", line 23, in maybe_check_databases
    check_ankihub_db(on_success=check_anki_db)

  File "C:\Users\HP\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\ah_db_check.py", line 22, in check_ankihub_db
    on_success()

  File "C:\Users\HP\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\anki_db_check.py", line 20, in check_anki_db
    _check_missing_ankihub_nids()

  File "C:\Users\HP\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\anki_db_check.py", line 40, in _check_missing_ankihub_nids
    [config.deck_config(deck_id).name for deck_id in ah_dids_with_missing_ah_nids],

  File "C:\Users\HP\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\anki_db_check.py", line 40, in <listcomp>
    [config.deck_config(deck_id).name for deck_id in ah_dids_with_missing_ah_nids],

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

Sentry link (for developers)

Hello,

Do you consistently get this error?

If you do, can you try disabling all your add-ons except AnkiHub and check to see if this occurs again?