Error when deleted card within browser

Running anki 2.1.47 on macOS 11.6 20G165 arm64. I’ve disabled my 3 plugins and rebuild the DB. When I delete a note within the browser I get the following error.

  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.47 (dc156f34) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
  Platform: Mac 10.16
  Flags: frz=True ao=False sv=2
  Add-ons, last update check: 2021-09-15 10:53:28

  Caught exception:
  Traceback (most recent call last):
    File "aqt/webview.py", line 541, in handler
    File "aqt/editor.py", line 521, in <lambda>
    File "aqt/utils.py", line 965, in <lambda>
    File "aqt/browser/browser.py", line 436, in onRowChanged
    File "aqt/browser/browser.py", line 441, in _update_context_actions
    File "aqt/browser/browser.py", line 746, in _update_toggle_mark_action
    File "anki/cards.py", line 151, in note
    File "anki/collection.py", line 332, in get_note
    File "anki/notes.py", line 46, in __init__
    File "anki/notes.py", line 52, in load
    File "anki/_backend/generated.py", line 327, in get_note
    File "anki/_backend/__init__.py", line 131, in _run_command
  anki.errors.NotFoundError

Well spotted. Should be fixed in the next release.

1 Like