AnkiHub error on launch

Before the error happened, I was…
Trying to open my browser… then it crashed!

Error message (don't change this)
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.6-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-10-18 13:45:10

Traceback (most recent call last):

  File "aqt.taskman", line 122, in _on_closures_pending

  File "aqt.taskman", line 71, in <lambda>

  File "aqt.taskman", line 90, in wrapped_done

  File "aqt.sync", line 117, in on_future_done

  File "aqt.main", line 1031, in on_collection_sync_finished

  File "aqt.main", line 498, in _onsuccess

  File "aqt.main", line 1016, in _refresh_after_sync

  File "aqt.toolbar", line 284, in redraw

  File "aqt.toolbar", line 404, in update_sync_status

  File "aqt.sync", line 58, in get_sync_status

  File "aqt.taskman", line 62, in run_in_background

  File "decorator", line 232, in fun

  File "anki.hooks", line 89, in decorator_wrapper

  File "anki.hooks", line 86, in repl

  File "/Users/mathieucarrcolbert/Library/Application Support/Anki2/addons21/editor_pro_toolbox/taskman.py", line 29, in _only_run_in_main_thread
    _old(*args, **kwargs)

  File "decorator", line 232, in fun

  File "anki.hooks", line 89, in decorator_wrapper

  File "anki.hooks", line 86, in repl

  File "/Users/mathieucarrcolbert/Library/Application Support/Anki2/addons21/1322529746/gui/taskman.py", line 31, in _only_run_in_main_thread
    _old(*args, **kwargs)

  File "aqt.taskman", line 122, in _on_closures_pending

  File "aqt.taskman", line 71, in <lambda>

  File "aqt.taskman", line 90, in wrapped_done

  File "aqt.dbcheck", line 41, in on_future_done

  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 "aqt.dbcheck", line 36, in do_check

  File "aqt.main", line 1479, in create_backup_now

  File "anki.collection", line 381, in create_backup

  File "decorator", line 232, in fun

  File "anki.hooks", line 89, in decorator_wrapper

  File "anki.hooks", line 84, in repl

  File "anki.dbproxy", line 36, in begin

  File "anki._backend", line 100, in db_begin

  File "anki._backend", line 116, in _db_command

anki.errors.DBError: DbError { info: "SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some(\"cannot start a transaction within a transaction\"))", kind: Other }

Sentry link (for developers)

Can you try restarting your device and see if this persists?

If it does, try deleting the ankihub addon and redownloading it