# Image occlusion refuse to work

**URL:** <https://forums.ankiweb.net/t/image-occlusion-refuse-to-work/22704>\
**Category:** Add-ons\
**Created:** [August 30, 2022, 8:22am UTC](https://forums.ankiweb.net/t/image-occlusion-refuse-to-work/22704 "2022-08-30T08:22:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ana1](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Ana1](https://forums.ankiweb.net/u/Ana1)\
**Post date:** [August 30, 2022, 8:22am UTC](https://forums.ankiweb.net/t/image-occlusion-refuse-to-work/22704/1 "2022-08-30T08:22:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [August 30, 2022, 10:17am UTC](https://forums.ankiweb.net/t/image-occlusion-refuse-to-work/22704/2 "2022-08-30T10:17:46Z")

</div>

Download the official copy instead: [Image Occlusion Enhanced - AnkiWeb](https://ankiweb.net/shared/info/1374772155)

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

---

<div class="post-metadata">

**Author:** ![Ana1](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Ana1](https://forums.ankiweb.net/u/Ana1)\
**Post date:** [August 30, 2022, 12:23pm UTC](https://forums.ankiweb.net/t/image-occlusion-refuse-to-work/22704/3 "2022-08-30T12:23:07Z")

</div>

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