AnkiHub Deck has missing values

Before the error happened, I was…
just opening Anki and it asked me to sync with AnkiWeb because one of the decks I subscribe to was missing values.

Error message (don't change this)
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.22621
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-08-01 07:49:41

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 "C:\Users\cburt\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\", line 58, in _on_done

  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\cburt\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\", line 51, in <lambda>
    lambda: _reset_decks(ah_dids_with_missing_ah_nids),

  File "C:\Users\cburt\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\", line 114, in _reset_decks
    reset_local_changes_to_notes(nids, ankihub_deck_uuid=ah_did)

  File "C:\Users\cburt\AppData\Roaming\Anki2\addons21\1322529746\", line 34, in reset_local_changes_to_notes
    notes_data = [

  File "C:\Users\cburt\AppData\Roaming\Anki2\addons21\1322529746\", line 37, in <listcomp>
    if (note_data := ankihub_db.note_data(nid)) is not None

  File "C:\Users\cburt\AppData\Roaming\Anki2\addons21\1322529746\db\", line 312, in note_data

  File "C:\Users\cburt\AppData\Roaming\Anki2\addons21\1322529746\db\", line 314, in <listcomp>

IndexError: list index out of range

Sentry link (for developers)

Can you take a picture of the prompt, you can just press sync or install the missing values (I forgot exactly what the options for that prompt is). Should be fine after that


So I click yes and it goes through with syncing but then gives me this error message.

I have tried unsubscribing and resubscribing to this deck to see if that helps. I’m not sure what else to do. I haven’t seen any other real problems with the deck yet it just takes a second longer for Anki to load because it goes through this every time I open it. Not a big deal honestly, I just posted in case anyone had ideas on how to fix it

Try deleting the ankihub addon and reinstalling and see if that fixes it