Error

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

Error message (don't change this)
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.2 PyQt 6.5.2
Platform: Windows-10-10.0.26100
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2026-06-03 17:44:46

Traceback (most recent call last):

  File "C:\Users\MARCO\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 247, in _schedule_post_sync_tasks
    aqt.mw.taskman.run_in_background(aqt.mw.col.tags.clear_unused_tags, on_done=_on_clear_unused_tags_done)

  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)

Please ensure you are on the latest version of Anki. You can download it here: https://apps.ankiweb.net/. After downloading, simply run the downloaded file to update your application.

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