Add-on disabling Anki

I approved an update to the image occlusion add-on and now I cannot open Anki/see any of my decks.

Here is the specific error notice I received,

Debug info:
Anki 2.1.15 (442df9d6) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.13.6
Flags: frz=True ao=True sv=?
Add-ons possibly involved: Image Occlusion Enhanced for Anki 21 alpha

Caught exception:
File “aqt/”, line 279, in accept
File “aqt/”, line 234, in doOpen
File “aqt/”, line 253, in _openBackup
File “aqt/”, line 186, in onOpenProfile
File “aqt/”, line 276, in loadProfile
File “anki/”, line 29, in runHook
File “/Users/marcelbrown/Library/Application Support/Anki2/addons21/1374772155/”, line 203, in onProfileLoaded
File “/Users/marcelbrown/Library/Application Support/Anki2/addons21/1374772155/”, line 78, in getSyncedConfig
if ‘imgocc’ not in mw.col.conf:
<class ‘AttributeError’>: ‘NoneType’ object has no attribute ‘conf’

  1. Close anki if open
  2. Try to open Anki while holding down the Shift key
  3. Anki should start with all addons disabled for this session
  4. Disable or delete the addon

Alternatively, you can downgrade to the old addon before the update:

  1. Check your recycle bin, it should hold the old addon files that get deleted when you update it. The folder will be named 1374772155.
  2. Transfer it to anki’s addon21 folder and replace the folder with the same name already there.
1 Like