Skip to content

Issues with adding new cards #108

@cwmschmidty

Description

@cwmschmidty

Describe the bug
A clear and concise description of what the bug is.

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 to the add-on author.
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-28 13:38:49

Caught exception:
Traceback (most recent call last):
File "aqt.webview", line 42, in cmd
File "aqt.webview", line 149, in onCmd
File "aqt.webview", line 618, in onBridgeCmd
File "aqt.hooks_gen", line 4358, in call
File "C:\Users\J\AppData\Roaming\Anki2\addons21\272311064\src\webview_init
.py", line 90, in add_occlusion_messages
on_cloze(editor)
File "C:\Users\J\AppData\Roaming\Anki2\addons21\272311064\src\editor_init
.py", line 182, in on_cloze
return _old(editor)
NameError: name '_old' is not defined

Error appears everytime I add a new card. After closing the error the card will add normally.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions