Error while syncing to AnkiHub computer freezes up

Before the error happened, I was…

It happens every time I sync for about a week now

Error message (don't change this)
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.22000
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-12-02 20:08:33

Traceback (most recent call last):

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

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

  File "aqt.operations", line 249, in wrapped_done

  File "C:\Users\tasei\AppData\Roaming\Anki2\addons21\1322529746\gui\", line 49, in on_failure
    raise exception

  File "concurrent.futures.thread", line 58, in run

  File "aqt.operations", line 239, in wrapped_op

  File "C:\Users\tasei\AppData\Roaming\Anki2\addons21\1322529746\gui\", line 53, in <lambda>
    op=lambda _: self._update_deck_media_and_download_missing_media(),

  File "C:\Users\tasei\AppData\Roaming\Anki2\addons21\1322529746\gui\", line 118, in _update_deck_media_and_download_missing_media

  File "C:\Users\tasei\AppData\Roaming\Anki2\addons21\1322529746\gui\", line 147, in _update_deck_media

  File "C:\Users\tasei\AppData\Roaming\Anki2\addons21\1322529746\db\", line 560, in upsert_deck_media_infos

  File "C:\Users\tasei\AppData\Roaming\Anki2\addons21\1322529746\db\", line 30, in execute
    raise e

  File "C:\Users\tasei\AppData\Roaming\Anki2\addons21\1322529746\db\", line 22, in execute
    cur.execute(sql, args)

sqlite3.OperationalError: database is locked

Sentry link (for developers)

We’re working on a fix for this.