Before the error happened, I wasโฆ
Syncing changes to AnkiWeb.
Same error also occurs intermittently while opening Card Browser.
Have not noticed any particular pattern/reproducibility steps.
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.22621
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-12-04 18:43:18
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\Admin\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\Admin\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\Admin\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 119, in _update_deck_media_and_download_missing_media
missing_media_names = self._missing_media_for_ah_deck(ah_did)
File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 157, in _missing_media_for_ah_deck
media_names = ankihub_db.downloadable_media_names_for_ankihub_deck(ah_did)
File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\db\db.py", line 584, in downloadable_media_names_for_ankihub_deck
self.list(
File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\db\db.py", line 104, in list
return self.connection().list(*args, **kwargs)
File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\db\db_utils.py", line 46, in list
return [x[0] for x in self.execute(sql, *args, first_row_only=False)]
File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\db\db_utils.py", line 30, in execute
raise e
File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1322529746\db\db_utils.py", line 22, in execute
cur.execute(sql, args)
sqlite3.OperationalError: database is locked