Error when deleting a card from browser

  • do reviews
  • open browser, and search for the card currently displayed in review window
  • delete that card from the browser
  • return to review screen and attempt to show answer/answer Cood on the card
  • error message appears (or sometimes an empty dialogue)
    image
Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.52 (ab1c2395) Python 3.9.7 Qt 6.3.0 PyQt 6.3.0
Platform: Windows 10
Flags: frz=True ao=False sv=3

Caught exception:
Traceback (most recent call last):
  File "aqt.main", line 252, in on_focus_changed
  File "aqt.hooks_gen", line 2766, in __call__
  File "aqt.main", line 749, in on_focus_did_change
  File "aqt.reviewer", line 174, in refresh_if_needed
  File "aqt.reviewer", line 203, in _redraw_current_card
  File "anki.cards", line 68, in load
  File "anki._backend.generated", line 1800, in get_card
  File "anki._backend", line 146, in _run_command
anki.errors.NotFoundError

I can’t seem to reproduce this. When I delete the note from the browser, the main window greys out, and when I return to it, a new card is shown. If I click on Show Answer while the browser is still focused, it reveals the answer of the next card.

your answer to my previous post fixed the problem. OpenGL was the culprit…

thanks dae!