Skip to content

Error appears when creating default anki cloze deletion #115

@justarmadillo

Description

@justarmadillo

Describe the bug
When doing cloze card type (default anki cloze card type) and press CTRL+SHIFT+C to make cloze deletion the error message appears

  • Anki client: Anki windows 2.1.57

Debug information
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.57 (6b7d372c) Python 3.9.15 Qt 6.4.2 PyQt 6.4.0
Platform: Windows-10-10.0.22621
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-01-30 21:47:32

Caught exception:
Traceback (most recent call last):
File "aqt.webview", line 43, in cmd
File "aqt.webview", line 150, in _onCmd
File "aqt.webview", line 614, in onBridgeCmd
File "aqt.hooks", line 5002, in call
File "C:\Users\Oracle\AppData\Roaming\Anki2\addons21\272311064\src\webview_init
.py", line 90, in add_occlusion_messages
on_cloze(editor)
File "C:\Users\Oracle\AppData\Roaming\Anki2\addons21\272311064\src\editor_init
.py", line 182, in on_cloze
return _old(editor)
NameError: name '_old' is not defined

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