Sync error

**Before the error happened, I was trying to sync.

Error message (don't change this)
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.26100
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2025-05-05 15:01:20

Traceback (most recent call last):

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

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

  File "C:\Users\hrima\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 3620, 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,

I can see that your Anki version is outdated. Please go to https://apps.ankiweb.net/ and download the latest version. After that, just run the file and your Anki will update automatically.

Let us know if the error happens again! :blush:

1 Like

Thanks! New error with syncing now that I updated.

Can you try syncing on another wifi or data?