The category for general support questions related to using AnkiHub.
Things not to ask about here:
- Questions already answered in our documentation
- Questions about specific decks (ask in #ankihub-decks)
- General Anki questions (ask at the Anki Support Forum or in #off-topic)
Please include supporting information and documents such as screenshots, recordings, complete error messages, etc.
Got an error message when I was trying to sync.
Bug info
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 5.15.2 PyQt 5.15.5
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-05-23 10:13:45
Traceback (most recent call last):
File “aqt.taskman”, line 122, in _on_closures_pending
File “aqt.taskman”, line 71, in
File “C:\Users\Ursel Khan\AppData\Roaming\Anki2\addons21\1322529746\media_sync.py”, line 131, in _on_download_finished
future.result()
File “concurrent.futures._base”, line 438, in result
File “concurrent.futures._base”, line 390, in __get_result
File “concurrent.futures.thread”, line 52, in run
File “C:\Users\Ursel Khan\AppData\Roaming\Anki2\addons21\1322529746\media_sync.py”, line 94, in _download_missing_media
for ah_did in ankihub_db.ankihub_deck_ids():
File “C:\Users\Ursel Khan\AppData\Roaming\Anki2\addons21\1322529746\db\db.py”, line 455, in ankihub_deck_ids
for did in self.list(“SELECT DISTINCT ankihub_deck_id FROM notes”)
File “C:\Users\Ursel Khan\AppData\Roaming\Anki2\addons21\1322529746\db\db.py”, line 101, in list
return self.connection().list(*args, **kwargs)
File “C:\Users\Ursel Khan\AppData\Roaming\Anki2\addons21\1322529746\db\db.py”, line 160, in connection
result = DBConnection(conn=sqlite3.connect(ankihub_db.database_path))
sqlite3.OperationalError: unable to open database file