Error while syncing to AnkiHub computer freezes up

Before the error happened, I wasโ€ฆ
[syncing]

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\media_sync.py", 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\media_sync.py", line 53, in <lambda>
    op=lambda _: self._update_deck_media_and_download_missing_media(),

  File "C:\Users\tasei\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 118, in _update_deck_media_and_download_missing_media
    self._update_deck_media(ankihub_did=ah_did)

  File "C:\Users\tasei\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 147, in _update_deck_media
    ankihub_db.upsert_deck_media_infos(

  File "C:\Users\tasei\AppData\Roaming\Anki2\addons21\1322529746\db\db.py", line 560, in upsert_deck_media_infos
    conn.execute(

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

  File "C:\Users\tasei\AppData\Roaming\Anki2\addons21\1322529746\db\db_utils.py", 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.