Anki Forums

Anki produces error when adding cloze deletion card

Hi there,

When I am adding a cloze deletion card, I’m getting the following error log:

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, repeat 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-ons section of our support site.
Debug info:
Anki 2.1.40 (cf446733) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-04-22 16:01:49

Caught exception:
Traceback (most recent call last):
File “aqt\webview.py”, line 515, in handler
File “aqt\editor.py”, line 509, in
File “”, line 2, in _addCards
File “anki\hooks.py”, line 89, in decorator_wrapper
File “anki\hooks.py”, line 86, in repl
File “C:\Users\luisa\AppData\Roaming\Anki2\addons21\cloze_overlapper\editor.py”, line 301, in onAddCards
ret, total = overlapper.add()
File “C:\Users\luisa\AppData\Roaming\Anki2\addons21\cloze_overlapper\overlapper.py”, line 117, in add
self.updateNote(fields, full, setopts, custom)
File “C:\Users\luisa\AppData\Roaming\Anki2\addons21\cloze_overlapper\overlapper.py”, line 203, in updateNote
note.flush()
File “anki\notes.py”, line 67, in flush
AssertionError

I have tried to find what’s causing the problem by deactivating the add-ons, but that doesn’t seem to work. Can anybody help me here?

Thanks for your help!

Regards,

Luis