Anki Forums

Problem with Image Occlusion Enhanced for 2.1 alpha

can’t make image occlusion cards after drawing rectangle boxes

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.37 (6d596c8f) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.15.7
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-03-26 21:49:29
Add-ons possibly involved: ⁨Image Occlusion Enhanced for Anki 21 alpha⁩

Caught exception:
Traceback (most recent call last):
File “aqt/webview.py”, line 515, in handler
File “/Users/kunalshah/Library/Application Support/Anki2/addons21/1374772155/add.py”, line 278, in
lambda val, choice=choice, close=close: self._onAddNotesButton(choice, close, val))
File “/Users/kunalshah/Library/Application Support/Anki2/addons21/1374772155/add.py”, line 293, in _onAddNotesButton
r = gen.generateNotes()
File “/Users/kunalshah/Library/Application Support/Anki2/addons21/1374772155/ngen.py”, line 87, in generateNotes
omask_path = self._saveMask(self.new_svg, self.occl_id, “O”)
File “/Users/kunalshah/Library/Application Support/Anki2/addons21/1374772155/ngen.py”, line 399, in _saveMask
mask_file = open(mask_path, ‘wb’)
OSError: [Errno 30] Read-only file system: ‘d71ac9e441094f78a2e5830e50e59cad-oa-O.svg’