Anki Add-ons Not functioning properly on Mac

Apollo's Avatar

Apollo

06 May, 2020 05:05 PM

I've tried to go through the add-ons to figure out what hasn't been working properly, but I'm confused bc there's specific add-on that they say is "involved"
Here's the error code 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.25 (898801eb) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
Platform: Mac 10.14.6
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-05-05 19:46:19

Caught exception:
Traceback (most recent call last):
  File "aqt/deckconf.py", line 327, in accept
  File "</Applications/Anki.app/Contents/MacOS/decorator.pyc:decorator-gen-112>", line 2, in saveConf
  File "anki/hooks.py", line 638, in decorator_wrapper
  File "anki/hooks.py", line 633, in repl
  File "</Applications/Anki.app/Contents/MacOS/decorator.pyc:decorator-gen-72>", line 2, in saveConf
  File "anki/hooks.py", line 638, in decorator_wrapper
  File "anki/hooks.py", line 633, in repl
  File "aqt/deckconf.py", line 321, in saveConf
  File "anki/decks.py", line 71, in save
  File "anki/decks.py", line 357, in update_config
  File "anki/rsbackend.py", line 518, in add_or_update_deck_config
orjson.JSONEncodeError: Type is not JSON serializable: CheckState

  1. 1 Posted by addons_zz on 06 May, 2020 06:01 PM

    addons_zz's Avatar

    Did you disabled all addons? Looks like your collection got corrupted during the update.

    After using the latest version, if you wish to open your collection with an earlier Anki release, please go to the File>Switch Profile menu item, and click on “Downgrade & Quit”. If you skip this step, you may get an error message when opening your collection in an older Anki version, and you will need to return to this version, downgrade, then try again.

    See:

    1. File>Switch Profile menu item, and click on “Downgrade & Quit”
    2. Anki deleted my deck… Any chance to restore?
    3. Restoring an Automatic Backup (Recovering from Data Loss)
  2. Support Staff 2 Posted by Damien Elmes on 06 May, 2020 11:12 PM

    Damien Elmes's Avatar

    Your collection is not corrupt. That message indicates you have an add-on installed that is breaking the saving of deck configurations. Please update all your add-ons, and if the problems persist, you'll need to start selectively disabling them until you figure out which one is causing the issue.

Comments are closed, but you can start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac