image-occlusion-enhanced icon indicating copy to clipboard operation
image-occlusion-enhanced copied to clipboard

It fails to make cards when I create them.

Open WCMQ opened this issue 3 years ago • 0 comments

Problem description

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen? I was making cards and the error popped up.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • [ x] I've restarted Anki to see if it helps
  • [x ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • [x ] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • [ x] I've tried to disable other add-ons to see if there are any interactions present
  • [x ] My issue disappears when I hold shift while starting Anki.
  • [x ] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

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.0 Qt 5.14.2 PyQt 5.14.2 Platform: Mac 10.15.5 Flags: frz=True ao=True sv=1 Add-ons, last update check: 2020-09-07 09:40:57 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/juj2012/Library/Application Support/Anki2/addons21/1374772155/add.py", line 278, in lambda val, choice=choice, close=close: self._onAddNotesButton(choice, close, val)) File "/Users/juj2012/Library/Application Support/Anki2/addons21/1374772155/add.py", line 293, in _onAddNotesButton r = gen.generateNotes() File "/Users/juj2012/Library/Application Support/Anki2/addons21/1374772155/ngen.py", line 80, in generateNotes (svg_node, layer_node) = self._getMnodesAndSetIds() File "/Users/juj2012/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'

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:


WCMQ avatar Sep 07 '20 10:09 WCMQ