Before the error happened, I was…
syncing the anki app with ankihub.
Error message (don't change this)
Anki 2.1.62 (77dd1dc1) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-11-09 09:53:23
Traceback (most recent call last):
File "aqt.taskman", line 122, in _on_closures_pending
File "aqt.taskman", line 71, in <lambda>
File "C:\Users\home\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 160, in _on_download_finished
future.result()
File "concurrent.futures._base", line 439, in result
File "concurrent.futures._base", line 391, in __get_result
File "concurrent.futures.thread", line 58, in run
File "C:\Users\home\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 110, in _update_deck_media_and_download_missing_media
missing_media_names = self._missing_media_for_ah_deck(ah_did)
File "C:\Users\home\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 148, in _missing_media_for_ah_deck
media_names = ankihub_db.downloadable_media_names_for_ankihub_deck(ah_did)
File "C:\Users\home\AppData\Roaming\Anki2\addons21\1322529746\db\db.py", line 581, in downloadable_media_names_for_ankihub_deck
self.list(
File "C:\Users\home\AppData\Roaming\Anki2\addons21\1322529746\db\db.py", line 101, in list
return self.connection().list(*args, **kwargs)
File "C:\Users\home\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\home\AppData\Roaming\Anki2\addons21\1322529746\db\db_utils.py", line 30, in execute
raise e
File "C:\Users\home\AppData\Roaming\Anki2\addons21\1322529746\db\db_utils.py", line 22, in execute
cur.execute(sql, args)
sqlite3.OperationalError: database is locked