Hey glutanimate! Thanks a lot for your add-on. I’m not sure if it’s still OK to post it here, since I’m using a slightly older version of Anki – 2.1.43.
I’ve downloaded the add-on from anki-web and it should have supported the version I’m using out of the box, though it fails to load unfortunately.
I’ve tested several versions of Anki, and saw that at or after 2.1.44 the add-on is fixed (?). Is this possibly an Anki change or is Anki-web not downloading the right version.
I can’t update my Anki version because it breaks some decks I have (tested multiple versions of Anki-- 2.1.43 is the sweet spot atm).
I don’t know enough Python to troubleshoot either, sorry
Thank you!
Problem description
Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?
Add-on simply fails to load.
Checklist
Please replace the space inside the brackets with an x if the following items apply:
[ x ] I’ve restarted Anki to see if it helps
[ x ] I’ve verified that I use the latest version of the add-on by redownloading it from AnkiWeb
I’ve verified that I use the latest version of Anki by checking at (anki-web link)
[ x ] I’ve tried to disable other add-ons to see if there are any interactions present
[ x ] My issue disappears when I hold shift while starting Anki.
[ x ] I’ve checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.
Information about your Anki set-up
Version 2.1.43 (0fbae6bc)
Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
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 issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.43 (0fbae6bc) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-11-19 22:24:48
Add-ons possibly involved: <U+2068>Review Heatmap<U+2069>
Caught exception:
Traceback (most recent call last):
File "aqt/progress.py", line 53, in handler
File "aqt/main.py", line 142, in on_window_init
File "aqt/main.py", line 231, in setupProfile
File "aqt/main.py", line 413, in loadProfile
File "aqt/hooks_gen.py", line 2188, in __call__
File "/Users/user/Library/Application Support/Anki2/addons21/1771074083/views.py", line 74, in initializeHotkey
hotkey = config["profile"]["hotkeys"]["toggle"]
KeyError: 'toggle'