Error when trying to sync

I tried to sync and got this error

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.22621
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-11-02 09:55:57

Traceback (most recent call last):

  File "aqt.webview", line 46, in cmd

  File "aqt.webview", line 153, in _onCmd

  File "aqt.webview", line 665, in _onBridgeCmd

  File "decorator", line 232, in fun

  File "anki.hooks", line 89, in decorator_wrapper

  File "anki.hooks", line 80, in repl

  File "decorator", line 232, in fun

  File "anki.hooks", line 89, in decorator_wrapper

  File "anki.hooks", line 80, in repl

  File "decorator", line 232, in fun

  File "anki.hooks", line 89, in decorator_wrapper

  File "anki.hooks", line 81, in repl

  File "C:\Users\shmue\AppData\Roaming\Anki2\addons21\104518886\rebuild_all.py", line 117, in _handleFilteredDeckButtons
    _updateFilteredDecks(url)

  File "C:\Users\shmue\AppData\Roaming\Anki2\addons21\104518886\rebuild_all.py", line 112, in _updateFilteredDecks
    mw.reset()

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

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

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

  File "aqt.main", line 795, 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 "decorator", line 232, in fun

  File "anki.hooks", line 89, in decorator_wrapper

  File "anki.hooks", line 86, in repl

  File "C:\Users\shmue\AppData\Roaming\Anki2\addons21\1322529746\gui\taskman.py", line 31, in _only_run_in_main_thread
    _old(*args, **kwargs)

  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 "decorator", line 232, in fun

  File "anki.hooks", line 89, in decorator_wrapper

  File "anki.hooks", line 84, in repl

  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)

This common error will probably become a thing of the past in 23.10

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