Error with Anki Add-on 759844606 After Update

Hello,

I am encountering an issue with an add-on in Anki after an update. Here are the details of the error:


Error
An error occurred. Please start Anki while holding down the Shift key, which will temporarily disable the add-ons you have installed.
If the problem only occurs when add-ons are enabled, please use the Tools > Add-ons menu to disable some add-ons. Restart Anki until you discover the add-on that causes the problem.
Once this add-on is found, please report the problem on the add-on support site.

Debug info:
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.22631
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-07-28 08:26:43

Caught exception:
Traceback (most recent call last):
File “aqt.taskman”, line 122, in _on_closures_pending
File “aqt.taskman”, line 71, in
File “aqt.taskman”, line 90, in wrapped_done
File “aqt.sync”, line 117, in on_future_done
File “aqt.main”, line 1027, in on_collection_sync_finished
File “_aqt.hooks”, line 4878, in call
File “C:\Users\www_p\AppData\Roaming\Anki2\addons21\759844606\sync_hook.py”, line 57, in
sync_did_finish.append(lambda: auto_reschedule(local_rids))
File “C:\Users\www_p\AppData\Roaming\Anki2\addons21\759844606\sync_hook.py”, line 50, in auto_reschedule
return fut.result()
File “concurrent.futures._base”, line 446, in result
File “concurrent.futures._base”, line 391, in __get_result
File “concurrent.futures.thread”, line 58, in run
File “C:\Users\www_p\AppData\Roaming\Anki2\addons21\759844606\schedule\reschedule.py”, line 277, in
lambda: reschedule_background(did, recent, filter_flag, filtered_cids),
File “C:\Users\www_p\AppData\Roaming\Anki2\addons21\759844606\schedule\reschedule.py”, line 296, in reschedule_background
deck_parameters = get_deck_parameters(custom_scheduler)
File “C:\Users\www_p\AppData\Roaming\Anki2\addons21\759844606\utils.py”, line 234, in get_deck_parameters
deck_parameters.items(), key=lambda item: item[0], reverse=True
UnboundLocalError: local variable ‘deck_parameters’ referenced before assignment

Caught exception:
Traceback (most recent call last):
File “aqt.taskman”, line 122, in _on_closures_pending
File “aqt.taskman”, line 71, in
File “C:\Users\www_p\AppData\Roaming\Anki2\addons21\759844606\schedule\reschedule.py”, line 256, in on_done
tooltip(f"{future.result()} in {time.time() - start_time:.2f} seconds")
File “concurrent.futures._base”, line 439, in result
File “concurrent.futures._base”, line 391, in __get_result
File “aqt.taskman”, line 122, in _on_closures_pending
File “aqt.taskman”, line 71, in
File “aqt.taskman”, line 90, in wrapped_done
File “aqt.sync”, line 117, in on_future_done
File “aqt.main”, line 1027, in on_collection_sync_finished
File “_aqt.hooks”, line 4878, in call
File “C:\Users\www_p\AppData\Roaming\Anki2\addons21\759844606\sync_hook.py”, line 57, in
sync_did_finish.append(lambda: auto_reschedule(local_rids))
File “C:\Users\www_p\AppData\Roaming\Anki2\addons21\759844606\sync_hook.py”, line 50, in auto_reschedule
return fut.result()
File “concurrent.futures._base”, line 446, in result
File “concurrent.futures._base”, line 391, in __get_result
File “concurrent.futures.thread”, line 58, in run
File “C:\Users\www_p\AppData\Roaming\Anki2\addons21\759844606\schedule\reschedule.py”, line 277, in
lambda: reschedule_background(did, recent, filter_flag, filtered_cids),
File “C:\Users\www_p\AppData\Roaming\Anki2\addons21\759844606\schedule\reschedule.py”, line 296, in reschedule_background
deck_parameters = get_deck_parameters(custom_scheduler)
File “C:\Users\www_p\AppData\Roaming\Anki2\addons21\759844606\utils.py”, line 234, in get_deck_parameters
deck_parameters.items(), key=lambda item: item[0], reverse=True
UnboundLocalError: local variable ‘deck_parameters’ referenced before assignment


I have tried disabling the add-ons and restarting Anki, but the error persists when certain add-ons are enabled. I also tried reinstalling Anki, but without success.

Thank you for your help in resolving this issue.

Those add-ons are the issue then. In the Troubleshooting Checklist, #2 will help you work out exactly which add-ons are having a problem. Troubleshooting - Anki Manual

If you want a quick list where you can tell which add-ons are the most outdated, got to Help > About > Copy debug info – and paste that somewhere. It will show you the last update date for your addons.

759844606 is the FSRShelper, but this add-on is being actively developed so it is unlikely to be the cause of a bug. It could be a version compatibility issue or interference with another add-ons.

If your add-ons are not yet up to date, try to update them.

  • tools → Add-ons → Check for Updates

The Anki 2.1.65 you are using is still a bit old, the latest is Anki 24.06.3, so updating Anki may help.

But old add-ons may be broken if you update Anki, so if you have important add-ons I recommend you to check the add-ons page to see if they are compatible with the latest version of Anki (rating comments)

  • tools → Add-ons → View Add-on Page

It appears to be a bug in the add-on’s branch intended for older Anki versions, so updating your Anki should fix it.

image

3 Likes