" ⁨Image Occlusion Enhanced for Anki 21 alpha⁩" error

so everytime when I try to add new cards using image occlusion, this error window pops up. I have tried holding shift key while restarting Anki and reinstalling the addon and restart the computer over and over. yet the error still persist.

the error window pops up right after i click the ‘hide one, guess one’ button. after I close the error window, the new cards seemed to be successfully added into my designated deck, but the constant pop up error window is so annoying. please send help!!!

The dialog shown in the screenshot contains text that you see when you scroll down. The screenshot you posted is missing the most important text which is at the bottom.

Instead of a screenshot post the full text (use the Copy to clipboard button).

1 Like

Hi, I have tried to copy and paste the error description in the reply box, but it told me that it exceeds word count, I have tried to reply the email with the description that you send me, please check

Thanks

I’m just an Anki user. There’s no official support for add-on related problems.

you could put the code into a text file, upload this file somewhere and share the link.

the webpage for Image Occussion, https://ankiweb.net/shared/info/1374772155, has this: " Of course there also bound to be some unforeseen bugs and regressions in the alpha. If you experience any of these please make sure to either report them on the add-on’s bug tracker or in the official support thread."

Making a new thread like this one means that the original add-on creator won’t be notified about your posts.

Debuginformationen:
Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.15.7
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-01-17 16:41:52
Möglicherweise beteiligte Erweiterungen: ⁨Image Occlusion Enhanced for Anki 21 alpha⁩

Caught exception:
Traceback (most recent call last):
File “aqt/webview.py”, line 493, in handler
File “/Users/pauline/Library/Application Support/Anki2/addons21/1374772155/add.py”, line 278, in
lambda val, choice=choice, close=close: self._onAddNotesButton(choice, close, val))
File “/Users/pauline/Library/Application Support/Anki2/addons21/1374772155/add.py”, line 293, in _onAddNotesButton
r = gen.generateNotes()
File “/Users/pauline/Library/Application Support/Anki2/addons21/1374772155/ngen.py”, line 80, in generateNotes
(svg_node, layer_node) = self._getMnodesAndSetIds()
File “/Users/pauline/Library/Application Support/Anki2/addons21/1374772155/ngen.py”, line 190, in _getMnodesAndSetIds
mask_doc = minidom.parseString(self.new_svg.encode(‘utf-8’))
AttributeError: ‘NoneType’ object has no attribute ‘encode’

I have the same issue - have a look at my screenshot:


Can anybody help? Of should we mention this to team that developed the add on?
Thy
PS
My error log:
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.30 (06a69c25) Python 3.8.1 Qt 5.9.7 PyQt 5.13.2
Platform: Mac 10.11.6
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-05-12 03:08:11
Add-ons possibly involved: ⁨Image Occlusion Enhanced for Anki 21 alpha⁩

Caught exception:
Traceback (most recent call last):
File “aqt/webview.py”, line 493, in handler
File “/Users/skypeSvenAERTS/Library/Application Support/Anki2/addons21/1374772155/add.py”, line 278, in
lambda val, choice=choice, close=close: self._onAddNotesButton(choice, close, val))
File “/Users/skypeSvenAERTS/Library/Application Support/Anki2/addons21/1374772155/add.py”, line 293, in _onAddNotesButton
r = gen.generateNotes()
File “/Users/skypeSvenAERTS/Library/Application Support/Anki2/addons21/1374772155/ngen.py”, line 80, in generateNotes
(svg_node, layer_node) = self._getMnodesAndSetIds()
File “/Users/skypeSvenAERTS/Library/Application Support/Anki2/addons21/1374772155/ngen.py”, line 190, in _getMnodesAndSetIds
mask_doc = minidom.parseString(self.new_svg.encode(‘utf-8’))
AttributeError: ‘NoneType’ object has no attribute ‘encode’

How did you solve this? Same problem here