Closed snoyes closed 5 years ago
Thanks. From memory, this has happened inconsistently for some time. I'll look into it over the weekend.
same error also occurred on Mac
Anki 2.1.4 Python 3.6.1 Qt 5.9.2 PyQt 5.9 Platform: Mac 10.14.2 Flags: frz=True ao=True sv=1
Caught exception: File "aqt/reviewer.py", line 451, in _onTypedAnswer File "
", line 2, in _showAnswer File "anki/hooks.py", line 66, in decorator_wrapper File "anki/hooks.py", line 63, in repl File "/Users/oma/Library/Application Support/Anki2/addons21/1374772155/main.py", line 231, in onShowAnswer return _old(self) File "aqt/reviewer.py", line 222, in _showAnswer File "anki/hooks.py", line 28, in runHook File "/Users/oma/Library/Application Support/Anki2/addons21/935264945/main.py", line 134, in onShowAnswer mw.stateShortcuts.remove(qs) <class 'ValueError'>: list.remove(x): x not in list
This is probably a duplicate of #63, which I still haven't got around to addressing. I'll close this but keep the older report open.
A cloze card created from the add-on shows the question correctly, then pops up the following on the answer side:
Debug info: Anki 2.1.5 Python 3.6.1 Qt 5.9.2 PyQt 5.9 Platform: Windows 10 Flags: frz=True ao=True sv=1
Caught exception: File "aqt\webview.py", line 295, in handler File "aqt\reviewer.py", line 461, in _onTypedAnswer File "aqt\reviewer.py", line 222, in _showAnswer File "anki\hooks.py", line 28, in runHook File "C:\Users\scnoyes\AppData\Roaming\Anki2\addons21\935264945\main.py", line 134, in onShowAnswer mw.stateShortcuts.remove(qs) <class 'ValueError'>: list.remove(x): x not in list