STadas/Ankicord

error when reviewer does not return a card

Closed this issue · 1 comments

ERROR:
Anki 2.1.44 (b2b3275f) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-08-10 22:18:06

Caught exception:
Traceback (most recent call last):
File "aqt\reviewer.py", line 837, in onBuryCard
File "aqt\main.py", line 691, in reset
File "aqt\main.py", line 656, in moveToState
File "aqt\hooks_gen.py", line 2679, in call
File "anki\hooks.py", line 34, in runHook
File "C:\Users\ASUS\AppData\Roaming\Anki2\addons21\1828536813\src\main.py", line 200, in on_state
self.last_deck = mw.col.decks.get(mw.reviewer.card.did)
AttributeError: 'NoneType' object has no attribute 'did'

closing due to inactivity