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.
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.56 (07fd88dd) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-12.6.4-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-04-10 08:11:00
Add-ons possibly involved: AnkiHub
Caught exception:
Traceback (most recent call last):
File “aqt.progress”, line 118, in handler
File “aqt.main”, line 197, in on_window_init
File “aqt.main”, line 293, in setupProfile
File “aqt.main”, line 473, in loadProfile
File “_aqt.hooks”, line 3627, in call
File “/Users/kabweatiban/Library/Application Support/Anki2/addons21/1322529746/entry_point.py”, line 47, in on_profile_did_open
if not profile_setup():
File “/Users/kabweatiban/Library/Application Support/Anki2/addons21/1322529746/entry_point.py”, line 69, in profile_setup
ankihub_db.setup_and_migrate(ankihub_db_path())
File “/Users/kabweatiban/Library/Application Support/Anki2/addons21/1322529746/db/db.py”, line 139, in setup_and_migrate
migrate_ankihub_db()
File “/Users/kabweatiban/Library/Application Support/Anki2/addons21/1322529746/db/db_migrations.py”, line 68, in migrate_ankihub_db
ah_nid_with_highest_mod = ankihub_db.scalar(
File “/Users/kabweatiban/Library/Application Support/Anki2/addons21/1322529746/db/db.py”, line 90, in scalar
return self.connection().scalar(*args, **kwargs)
File “/Users/kabweatiban/Library/Application Support/Anki2/addons21/1322529746/db/db_utils.py”, line 37, in scalar
rows = self.execute(sql, *args, first_row_only=True)
File “/Users/kabweatiban/Library/Application Support/Anki2/addons21/1322529746/db/db_utils.py”, line 28, in execute
raise e
File “/Users/kabweatiban/Library/Application Support/Anki2/addons21/1322529746/db/db_utils.py”, line 20, in execute
cur.execute(sql, args)
sqlite3.OperationalError: database is locked