# Image occlusion addon error

**URL:** <https://forums.ankiweb.net/t/image-occlusion-addon-error/25832>\
**Category:** Add-ons\
**Created:** [December 31, 2022, 11:37am UTC](https://forums.ankiweb.net/t/image-occlusion-addon-error/25832 "2022-12-31T11:37:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![olensuman](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/olensuman/32/12270_2.png) [@olensuman](https://forums.ankiweb.net/u/olensuman)\
**Post date:** [December 31, 2022, 11:37am UTC](https://forums.ankiweb.net/t/image-occlusion-addon-error/25832/1 "2022-12-31T11:37:23Z")

</div>

I am getting this error as soon as I start Anki desktop app .  
 → this error pops up after installation of image occlusion addon  
 → if I press shift & start Anki desktop app then this error is not visible

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, repeat 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-ons section of our support site.  
Debug info:  
Anki 2.1.55 (01caec2a) Python 3.9.15 Qt 6.4.0 PyQt 6.4.0  
Platform: Windows-10-10.0.19044  
Flags: frz=True ao=True sv=2  
Add-ons, last update check: 2022-12-30 18:46:55

Caught exception:  
Traceback (most recent call last):  
File “aqt.progress”, line 118, in handler  
File “aqt.main”, line 197, in on\_window\_init  
File “aqt.main”, line 242, in setupProfileAfterWebviewsLoaded  
File “aqt.main”, line 293, in setupProfile  
File “aqt.main”, line 473, in loadProfile  
File “\_aqt.hooks”, line 3633, in **call**  
File “anki.hooks”, line 34, in runHook  
File “C:\Users\FISUKOL\AppData\Roaming\Anki2\addons21\1108947803\main.py”, line 201, in onProfileLoaded  
editor.\_html = editor.\_html + io\_editor\_style.replace(“%”, “%%”)  
AttributeError: module ‘aqt.editor’ has no attribute ‘\_html’

---

<div class="post-metadata">

**Author:** ![glutanimate](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/glutanimate/32/97_2.png) [@glutanimate](https://forums.ankiweb.net/u/glutanimate)\
**Post date:** [December 31, 2022, 12:44pm UTC](https://forums.ankiweb.net/t/image-occlusion-addon-error/25832/2 "2022-12-31T12:44:44Z")

</div>

It looks like you downloaded an older version of the add-on from an unofficial listing. Please uninstall the version you currently have installed and then re-download the add-on from here: [Image Occlusion Enhanced - AnkiWeb](https://ankiweb.net/shared/info/1374772155)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [January 30, 2023, 12:45pm UTC](https://forums.ankiweb.net/t/image-occlusion-addon-error/25832/3 "2023-01-30T12:45:32Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
