Open cwmschmidty opened 2 years ago
hi, the closet gave me same error whenever i add new cards. however, everything works except showing this same error. so i am using closet at the moment.
i asked gpt4 it say the error is: The error message you're encountering in Anki after installing the Closet add-on indicates a conflict or a bug within the add-on or its interaction with Anki. The specific error is an AttributeError in the addcards.py file of the Closet add-on, suggesting that it's trying to access an 'editor' attribute of a 'NoneType' object, which means the object it's trying to access doesn't exist or hasn't been initialized properly.
Describe the bug Hi,
Have tried editing an existing card to IO one by one and also creating new one. I receive this error when I hit add new card. When I close the error I can add the card but there is no IO on the card in preview or if I set the card to due. Also, the IO one by one example card also doesn't work. I also noticed I can't add any new cards now without receiving the same error.
Debug information
Debug info: Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 5.15.2 PyQt 5.15.5 Platform: Windows 10 Flags: frz=True ao=True sv=3 Add-ons, last update check: 2022-08-20 02:20:17
Caught exception: Traceback (most recent call last): File "aqt.webview", line 568, in handler File "aqt.editor", line 561, in File "aqt.addcards", line 259, in _add_current_note File "aqt.addcards", line 294, in _note_can_be_added File "aqt.hooks_gen", line 172, in call File "C:\Users\J\AppData\Roaming\Anki2\addons21\272311064\src\addcards.py", line 18, in check_if_occlusion_editor_open if addcards.editor.occlusion_editor_active AttributeError: 'NoneType' object has no attribute 'editor'
Method 1 (preferred method)