Unable to sync with ankihub after resetting local change

Before the error happened, I was…
Reviewing cards.

Error message (don't change this)
Anki 2.1.64 (581f82c5) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-10-25 19:14:38

Traceback (most recent call last):

  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 "C:\Users\dbastin\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 46, in on_sync_done
    send_review_data()

  File "C:\Users\dbastin\AppData\Roaming\Anki2\addons21\1322529746\main\review_data.py", line 21, in send_review_data
    card_review_data = [

  File "C:\Users\dbastin\AppData\Roaming\Anki2\addons21\1322529746\main\review_data.py", line 30, in <listcomp>
    if (last_review_time := _get_last_review_datetime_for_ah_deck(ah_did))

  File "C:\Users\dbastin\AppData\Roaming\Anki2\addons21\1322529746\main\review_data.py", line 59, in _get_last_review_datetime_for_ah_deck
    with attached_ankihub_db():

  File "contextlib", line 119, in __enter__

  File "C:\Users\dbastin\AppData\Roaming\Anki2\addons21\1322529746\db\db.py", line 84, in attached_ankihub_db
    attach_ankihub_db_to_anki_db_connection()

  File "C:\Users\dbastin\AppData\Roaming\Anki2\addons21\1322529746\db\db.py", line 39, in attach_ankihub_db_to_anki_db_connection
    aqt.mw.col.db.execute(

  File "anki.dbproxy", line 67, in all

  File "anki.dbproxy", line 61, in _query

  File "anki._backend", line 92, in db_query

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

anki.errors.DBError: Anki already open, or media currently syncing.

Sentry link (for developers)

An update was released yesterday that should fix this. Please update from Tools > Add-ons > Check for Updates.

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