Error on loading

Just updated the addon and added some new cards. Now I get this when I open Anki

Debug info:
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.5.2-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-09-27 17:57:36
Add-ons possibly involved: ⁨AnkiHub⁩

Caught exception:
Traceback (most recent call last):
File “aqt.progress”, line 118, in handler
File “aqt.main”, line 217, in on_window_init
File “aqt.main”, line 316, in setupProfile
File “aqt.main”, line 496, in loadProfile
File “_aqt.hooks”, line 3881, in call
File “/Users/Nick/Library/Application Support/Anki2/addons21/1322529746/entry_point.py”, line 52, in _on_profile_did_open
if not _profile_setup():
File “/Users/Nick/Library/Application Support/Anki2/addons21/1322529746/entry_point.py”, line 78, in _profile_setup
ankihub_db.setup_and_migrate(ankihub_db_path())
File “/Users/Nick/Library/Application Support/Anki2/addons21/1322529746/db/db.py”, line 135, in setup_and_migrate
migrate_ankihub_db()
File “/Users/Nick/Library/Application Support/Anki2/addons21/1322529746/db/db_migrations.py”, line 129, in migrate_ankihub_db
ankihub_db.execute(“ALTER TABLE notetypes RENAME TO temp_notetypes;”)
File “/Users/Nick/Library/Application Support/Anki2/addons21/1322529746/db/db.py”, line 104, in execute
return self.connection().execute(*args, **kwargs)
File “/Users/Nick/Library/Application Support/Anki2/addons21/1322529746/db/db_utils.py”, line 30, in execute
raise e
File “/Users/Nick/Library/Application Support/Anki2/addons21/1322529746/db/db_utils.py”, line 22, in execute
cur.execute(sql, args)
sqlite3.OperationalError: there is already another table or index with this name: temp_notetypes

logs.zip (877.2 KB)

Logs - updated.zip (632.8 KB)

This was fixed in add-on release 2023-09-29.1.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.