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

color change glitch #100

Open dgungo opened 3 years ago

dgungo commented 3 years ago

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?

Tried changing review heatmap color from lime to ice, gives error message.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

Information about your Anki set-up

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):


    Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
    Platform: Mac 10.15.7
    Flags: frz=True ao=True sv=1
    Add-ons, last update check: 2020-11-05 23:04:09

    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['popup_dictionary', 0, 'None', mod]
    '' ['put_ALL_due_learning_cards_first', 0, 'None', '']
    '' ['review_heatmap', 0, 'None', '']
    Add Hyperlink ['318752047', 2020-07-29T15:37, 'None', '']
    Additional Card Fields Fork for 21 ['744725736', 2020-09-20T06:50, 'None', mod]
    Advanced Browser ['874215009', 2020-10-25T09:10, 'None', '']
    Advanced Copy Fields ['1898445115', 2019-08-18T16:31, 'None', '']
    Anki Zoom ['538879081', 2020-04-03T19:20, 'v1.1.3', mod]
    Batch Editing ['291119185', 2019-09-19T12:04, 'None', '']
    BetterSearch ['1052724801', 2020-10-25T15:49, 'None', '']
    Browser Resizer ['1435775540', 2020-09-07T21:04, 'None', mod]
    Browser TableEditor side-by-side horizontal split ['831846358', 2020-07-07T18:44, 'None', mod]
    Clickable Tags v20 Anki 2120 support ['1739176371', 2020-03-13T09:25, 'None', '']
    Create Filtered Deck from the Browser ['861263371', 2019-03-01T21:14, 'None', '']
    Custom Background Image and Gear Icon ['1210908941', 2020-04-17T16:38, 'None', mod]
    Customize Keyboard Shortcuts ['24411424', 2020-09-01T23:53, 'None', mod]
    Customize Sidebar ['1988760596', 2020-01-16T16:12, 'None', mod]
    Delay Overdue Cards ['43919973', 2020-08-16T17:10, 'None', '']
    Ease Factor Histogram ['494944895', 2019-07-28T12:40, 'None', '']
    Edit Field During Review Cloze ['385888438', 2020-06-11T07:32, 'None', mod]
    Extended Card Stats During Review ['1008566916', 2019-03-01T21:14, 'None', '']
    Extended Tag AddEdit Dialog ['1135507717', 2020-06-30T08:46, 'None', mod]
    Fastbar ['Fastbar', 0, 'None', '']
    Frozen Fields ['516643804', 2020-02-29T22:12, 'None', '']
    Hierarchical Tags 2 ['594329229', 2020-04-11T11:36, 'None', '']
    High Yield Tags ['1918380616', 2020-06-30T15:35, 'None', '']
    Highlight Search Results in the Browser ['225180905', 2019-03-02T17:36, 'None', '']
    Hint Hotkeys ['1844908621', 2019-02-26T12:58, 'None', '']
    Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-27T21:21, 'None', '']
    Image Style Editor ['1593969147', 2020-03-05T22:51, 'None', mod]
    ImageResizer ['1214357311', 2019-02-27T19:33, 'None', '']
    Improved Quizlet to Anki 21 Importer ['538351043', 2020-10-30T18:40, 'None', '']
    Learning Step and Review Interval Retention ['1949865265', 2020-09-26T15:33, 'None', '']
    Maximum image height and width in card editor ['229181581', 2020-02-20T02:10, 'None', mod]
    More Decks Stats and Time Left ['1556734708', 2020-03-31T15:19, 'None', mod]
    More Overview Stats 21 ['738807903', 2019-02-26T12:51, 'None', mod]
    Quick Colour Changing ['2491935955', 2019-03-02T20:26, 'None', mod]
    Rebuild All  Empty All for Anki 21 ['1810938259', 2018-07-19T23:40, 'None', '']
    Refocus Card when Reviewing 21 ['1642550423', 2019-03-04T12:20, 'None', '']
    Remove Duplicate Cards ['95590040', 2020-04-25T01:55, 'None', '']
    Resize images in editor ['1103084694', 2020-08-02T08:04, 'None', mod]
    Special Fields ['1102281552', 2020-08-16T10:18, 'None', mod]
    Speed Focus Mode (auto Good and Pause button) ['speedfocus_AnKing', 0, 'None', '']
    Spell Checker ['spell_checker', 0, 'None', '']
    The KING of Button Add-ons ['374005964', 2020-04-17T17:33, 'None', mod]
    True Retention by Card Maturity ['923360400', 2017-08-29T14:00, 'None', '']
    add-on dialog searchfilter bar ['561945101', 2020-05-08T08:16, 'None', '']
    when is next learning card due today due ['563204849', 2020-09-13T08:51, 'None', '']

    ===IDs of active AnkiWeb add-ons===
    1008566916 1052724801 1102281552 1103084694 1135507717 1210908941 1214357311 1374772155 1435775540 1556734708 1593969147 1642550423 1739176371 1810938259 1844908621 1898445115 1918380616 1949865265 1988760596 225180905 229181581 24411424 2491935955 291119185 318752047 374005964 385888438 43919973 494944895 516643804 538351043 538879081 561945101 563204849 594329229 738807903 744725736 831846358 861263371 874215009 923360400 95590040

    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    AMBOSS add-on ['0amboss_addon', 2020-07-20T08:55, 'None', '']

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

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: Mac 10.15.7
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-11-05 23:04:09
Add-ons possibly involved: ⁨review_heatmap⁩

Caught exception:
Traceback (most recent call last):
  File "/Users/denizgungor/Library/Application Support/Anki2/addons21/review_heatmap/libaddon/gui/basic/dialog_basic.py", line 93, in accept
    self._onAccept()
  File "/Users/denizgungor/Library/Application Support/Anki2/addons21/review_heatmap/libaddon/gui/dialog_options.py", line 130, in _onAccept
    self.config.save()
  File "/Users/denizgungor/Library/Application Support/Anki2/addons21/review_heatmap/libaddon/anki/configmanager.py", line 216, in save
    saver(self._config[name])
  File "/Users/denizgungor/Library/Application Support/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