Nce I sync, i then can't undo cards or use any of the keyboard shortcuts

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 2.1.63 (f356f177) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.26100
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2025-05-15 18:35:34

Traceback (most recent call last):

  File "aqt.main", line 274, in on_focus_changed

  File "_aqt.hooks", line 3164, in __call__

  File "C:\Users\sacos091\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 238, in refresh_ui_and_start_after_sync_tasks_once
    aqt.mw.reset()

  File "aqt.main", line 822, in reset

  File "aqt.main", line 774, in _synthesize_op_did_execute_from_reset

  File "_aqt.hooks", line 3548, in __call__

  File "aqt.main", line 794, in on_operation_did_execute

  File "aqt.toolbar", line 404, in update_sync_status

  File "aqt.sync", line 58, in get_sync_status

  File "aqt.taskman", line 62, in run_in_background

  File "aqt.taskman", line 122, in _on_closures_pending

  File "aqt.taskman", line 71, in <lambda>

  File "aqt.taskman", line 90, in wrapped_done

  File "aqt.sync", line 100, in on_future_done

  File "anki.dbproxy", line 36, in begin

  File "anki._backend", line 100, in db_begin

  File "anki._backend", line 116, in _db_command

anki.errors.DBError: DbError { info: "SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some(\"cannot start a transaction within a transaction\"))", kind: Other }

Sentry link (for developers)

Hello,

Let’s try this first:

Your Anki is not up to date (2.1.63), you can download the latest version (25.02.5) from https://apps.ankiweb.net/. Just run the downloaded file, and Anki will update automatically.

Then update the AnkiHub add-on:
Go to Tools > Add-ons > Check for Updates. Restart Anki after that.

Please let us know if the issue occurs again! :blush:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.