AnkiHib Error Message

The category for general support questions related to using AnkiHub.

Things not to ask about here:

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

What were you doing in Anki when this happened? Did this happen once or multiple times? Do you get this error regularly?

I had pressed the sync button when the message appeared. This is the first time I have gotten this error.

Additionally, it is very difficult for me to update the Ankihub add on. I always have to reinstall the add on for the update to download

It occurs everytime I attempt to update the ankihub add-on

Please follow these steps if you still have a problem with updating the add-on: