Add on Error

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 26.09.2 (bb0dd6d1) (ao)
Python 3.13.15 Qt 6.11.2 PyQt 6.11.0
Platform: Windows-11-10.0.26100-SP0

Traceback (most recent call last):

  File "D:\a\anki\anki\out\installer\build\anki\windows\visualstudio\x64\Release\app_packages\aqt\taskman.py", line 152, in raise_exception

  File "D:\a\anki\anki\out\installer\build\anki\windows\visualstudio\x64\Release\app_packages\aqt\taskman.py", line 148, in _on_closures_pending

  File "D:\a\anki\anki\out\installer\build\anki\windows\visualstudio\x64\Release\app_packages\aqt\taskman.py", line 88, in <lambda>

  File "C:\Users\adamcg\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 296, in _on_clear_unused_tags_done
    changes: OpChangesWithCount = future.result()
                                  ~~~~~~~~~~~~~^^

  File "concurrent\futures\_base.py", line 453, in result

  File "concurrent\futures\_base.py", line 402, in __get_result

  File "concurrent\futures\thread.py", line 59, in run

  File "D:\a\anki\anki\out\installer\build\anki\windows\visualstudio\x64\Release\app_packages\anki\tags.py", line 54, in clear_unused_tags

  File "D:\a\anki\anki\out\installer\build\anki\windows\visualstudio\x64\Release\app_packages\anki\_backend_generated.py", line 2206, in clear_unused_tags

  File "D:\a\anki\anki\out\installer\build\anki\windows\visualstudio\x64\Release\app_packages\anki\_backend.py", line 175, in _run_command

anki.errors.InvalidInput: CollectionNotOpen

Sentry link (for developers)

Hello,

It’s possible the error was just a one-time glitch that occurred during the profile switch. However, to make sure everything is working correctly, please try the following steps:

  1. Update the AnkiHub add-on: Go to Tools > Add-ons > Check for Updates on your Anki main screen.
  2. Restart Anki: Close Anki completely and then re-open it.

After doing that, please try switching profiles again and let us know if the error happens again! :blush:

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