glutanimate / review-heatmap

Anki add-on to help you keep track of your review activity
https://ankiweb.net/shared/info/1771074083
Other
1.2k stars 89 forks source link

error when changing heatmap color #113

Closed iewuirq closed 3 years ago

iewuirq commented 3 years ago

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.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2 Platform: Windows 10 Flags: frz=True ao=True sv=2 Add-ons, last update check: 2021-04-15 14:50:42

Caught exception: Traceback (most recent call last): File "C:\Users\doris\AppData\Roaming\Anki2\addons21\review_heatmap\libaddon\gui\basic\dialog_basic.py", line 93, in accept self._onAccept() File "C:\Users\doris\AppData\Roaming\Anki2\addons21\review_heatmap\libaddon\gui\dialog_options.py", line 130, in _onAccept self.config.save() File "C:\Users\doris\AppData\Roaming\Anki2\addons21\review_heatmap\libaddon\anki\configmanager.py", line 216, in save saver(self._config[name]) File "C:\Users\doris\AppData\Roaming\Anki2\addons21\review_heatmap\libaddon\anki\configmanager.py", line 457, in _saveSynced self._getStorageObj("synced")[self._conf_key] = config File "anki\config.py", line 64, in setitem File "anki\config.py", line 40, in set orjson.JSONEncodeError: Type is not JSON serializable: WrappedDict

glutanimate commented 3 years ago

Hi iewuirq,

It looks like you're using an older version of the add-on. Updating to the latest release should fix the error message you're seeing. To do so, please download the latest release at the top here: https://ankiweb.net/shared/info/1771074083