An error occurs while using Anki

I’m studying Anki, but sometimes the following error occurs.

Why does the following bug occur?

Thank you so much for telling me how to solve it.

debug information:
Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-02-01 02:23:20

Caught exception:
Traceback (most recent call last):
File “C:\Users\sonhanbin\AppData\Roaming\Anki2\addons21\”, line 113, in answerCaller
return onAnswerButton(int(closureKey))
File “C:\Users\sonhanbin\AppData\Roaming\Anki2\addons21\”, line 88, in onAnswerButton
File “<C:\Program Files\Anki\decorator.pyc:decorator-gen-18>”, line 2, in _showAnswer
File “lib\site-packages\anki\”, line 638, in decorator_wrapper
File “lib\site-packages\anki\”, line 635, in repl
File “C:\Users\sonhanbin\AppData\Roaming\Anki2\addons21\1374772155\”, line 232, in onShowAnswer
if not self.card or not self.card.model()[“name”] == IO_MODEL_NAME:
File “lib\site-packages\anki\”, line 142, in note_type
ReferenceError: weakly-referenced object no longer exists

Seems this is related to these two add-ons:

This looks like it’s caused by the interaction of the two add-ons. Try disabling one of them to test if that fixes the issue.

1 Like