Image occlusion refuse to work

Hi,
I downloaded the add-on image occlusion and add it on my anki but when I click on it to use it on my cards it says that an error happened. What can I do ?

Debugging information :

Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 5.15.2 PyQt 5.15.5
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-08-30 09:34:22

Caught exception:
Traceback (most recent call last):
File “anki.config”, line 43, in get_immutable
File “anki._backend.generated”, line 1004, in get_config_json
File “anki._backend”, line 146, in _run_command
anki.errors.NotFoundError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “aqt.webview”, line 42, in cmd
File “aqt.webview”, line 149, in _onCmd
File “aqt.webview”, line 624, in _onBridgeCmd
File “aqt.editor”, line 467, in onBridgeCmd
File “C:\Users\anael\AppData\Roaming\Anki2\addons21\1108947803\main.py”, line 101, in
lambda o=editor: onImgOccButton(o),
File “C:\Users\anael\AppData\Roaming\Anki2\addons21\1108947803\main.py”, line 61, in onImgOccButton
io_model = getOrCreateModel()
File “C:\Users\anael\AppData\Roaming\Anki2\addons21\1108947803\config.py”, line 121, in getOrCreateModel
model_version = mw.col.conf[‘imgocc’][‘version’]
File “anki.config”, line 62, in getitem
File “anki.config”, line 45, in get_immutable
KeyError

Download the official copy instead: Image Occlusion Enhanced - AnkiWeb

This copy is uploaded by someone else other than the author.

3 Likes

Thank you !!! You just made my life so much easier !