Hello, since this morning I’ve been having the same problem with Anki’s Image Occlusion mode. I don’t understand why an Anki error message saying “Anki encountered a problem” appears when I try to add a photo… could you please help me? Here is the debug information:
Anki 26.09.3 (29bb700b) (ao)
Python 3.13.15 Qt 6.11.2 PyQt 6.11.0
Platform: Windows-11-10.0.26200-SP0
Traceback (most recent call last):
File "D:\\a\\anki\\anki\\out\\installer\\build\\anki\\windows\\visualstudio\\x64\\Release\\app_packages\\aqt\\progress.py", line 121, in handler
File "C:\\Users\\rapha\\AppData\\Roaming\\Anki2\\addons21\\1374772155\\main.py", line 130, in
lambda editor=editor: onImgOccButton(editor),
```^^^^^^^^
File "C:\Users\rapha\AppData\Roaming\Anki2\addons21\1374772155\main.py", line 101, in on_image_occlusion_button
self.imgoccadd.occlude(image_path)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "C:\Users\rapha\AppData\Roaming\Anki2\addons21\1374772155\add.py", line 76, in occlude
note = self.ed.note
^^^^^^^^^^^^
AttributeError: 'NewEditor' object has no attribute 'note'
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Image Occlusion Enhanced ['1374772155', 2022-04-09T09:15, 'None', '']
SynapsePro ['236979321', 2026-08-14T19:52, '1.5.0', '']
===IDs of active AnkiWeb add-ons===
1374772155 236979321
===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])