Error with AnkiHub add-on and latest Anki version 25.02

Hi,

Recently just downloaded version 25.02 and it came up with these errors repetitively:

Anki 24.11 (87ccd24e) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.3.1-arm64-arm-64bit

Traceback (most recent call last):

File “aqt.progress”, line 121, in handler

File “aqt.main”, line 221, in on_window_init

File “aqt.main”, line 320, in setupProfile

File “aqt.main”, line 558, in loadProfile

File “_aqt.hooks”, line 4101, in call

File “/Users/isotretinoin/Library/Application Support/Anki2/addons21/1322529746/entry_point.py”, line 127, in _on_profile_did_open
_general_setup()

File “/Users/ isotretinoin /Library/Application Support/Anki2/addons21/1322529746/entry_point.py”, line 237, in _general_setup
update_feature_flags_in_background()

File “/Users/ isotretinoin /Library/Application Support/Anki2/addons21/1322529746/feature_flags.py”, line 25, in update_feature_flags_in_background
AddonQueryOp(

File “aqt.operations”, line 263, in run_in_background

File “aqt.operations”, line 283, in _run

File “aqt.taskman”, line 71, in run_in_background

File “aqt.taskman”, line 144, in _on_closures_pending

File “aqt.taskman”, line 88, in

File “aqt.operations”, line 261, in wrapped_done

File “aqt.deckbrowser”, line 171, in success

File “aqt.deckbrowser”, line 185, in __renderPage

File “decorator”, line 232, in fun

File “anki.hooks”, line 92, in decorator_wrapper

File “anki.hooks”, line 89, in repl

File “/Users/ isotretinoin /Library/Application Support/Anki2/addons21/1556734708/mds_time_left.py”, line 49, in renderStats
anki_point_version = int(anki_version.split(“.”)[2])

IndexError: list index out of range

Have tried to shift+tools+check for updates but that still doesn’t work. Appears other add-ons like the review heat-maps not showing up anymore?

Would appreciate it if I could get help with the Anki-Hub addon for this version.

Error message (don't change this)
Anki 24.11 (87ccd24e)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.3.1-arm64-arm-64bit

Traceback (most recent call last):

  File "aqt.progress", line 121, in handler

  File "aqt.main", line 221, in on_window_init

  File "aqt.main", line 320, in setupProfile

  File "aqt.main", line 558, in loadProfile

  File "_aqt.hooks", line 4101, in __call__

  File "/Users/toantang/Library/Application Support/Anki2/addons21/1322529746/entry_point.py", line 127, in _on_profile_did_open
    _general_setup()

  File "/Users/toantang/Library/Application Support/Anki2/addons21/1322529746/entry_point.py", line 237, in _general_setup
    update_feature_flags_in_background()

  File "/Users/toantang/Library/Application Support/Anki2/addons21/1322529746/feature_flags.py", line 25, in update_feature_flags_in_background
    AddonQueryOp(

  File "aqt.operations", line 263, in run_in_background

  File "aqt.operations", line 283, in _run

  File "aqt.taskman", line 71, in run_in_background

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

  File "aqt.taskman", line 88, in <lambda>

  File "aqt.operations", line 261, in wrapped_done

  File "aqt.deckbrowser", line 171, in success

  File "aqt.deckbrowser", line 185, in __renderPage

  File "decorator", line 232, in fun

  File "anki.hooks", line 92, in decorator_wrapper

  File "anki.hooks", line 89, in repl

  File "/Users/toantang/Library/Application Support/Anki2/addons21/1556734708/mds_time_left.py", line 49, in renderStats
    anki_point_version = int(anki_version.split(".")[2])

IndexError: list index out of range

Sentry link (for developers)

Hello :slight_smile:

I would be happy to help. The first thing that stands out to me is that you mentioned upgrading to 25.02 though the error message you’ve shared appears to be still version 24.11:

Can you update to 25.11 and see if that does the trick?

I’m not quite expert enough to make heads or tails of the rest of the error report, but it may be as simple as needing to update. Hopefully that’s it, though if you update and that still doesn’t do the trick we can have someone else take a gander as well. :slight_smile:

1 Like