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\653807651_init_.py”, line 113, in answerCaller
return onAnswerButton(int(closureKey))
File “C:\Users\sonhanbin\AppData\Roaming\Anki2\addons21\653807651_init_.py”, line 88, in onAnswerButton
self.mw.reviewer._showAnswer()
File “<C:\Program Files\Anki\decorator.pyc:decorator-gen-18>”, line 2, in _showAnswer
File “lib\site-packages\anki\hooks.py”, line 638, in decorator_wrapper
File “lib\site-packages\anki\hooks.py”, line 635, in repl
File “C:\Users\sonhanbin\AppData\Roaming\Anki2\addons21\1374772155\main.py”, line 232, in onShowAnswer
if not self.card or not self.card.model()[“name”] == IO_MODEL_NAME:
File “lib\site-packages\anki\cards.py”, line 142, in note_type
ReferenceError: weakly-referenced object no longer exists