Error in downloading Anking

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

Error message (don't change this)
Anki 25.09.4 (d52ca669) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-14.6.1-arm64-arm-64bit-Mach-O

Traceback (most recent call last):

  File "/Users/indrejitathipathi/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 100, in sync_with_ankiweb
    future.result()
    ~~~~~~~~~~~~~^^

  File "/Users/indrejitathipathi/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ~~~~~~~~~~~~~~~~~^^

  File "/Users/indrejitathipathi/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/lib/python3.13/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception

  File "/Users/indrejitathipathi/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 36, in wrapper
    return func(*args, **kwargs)

  File "/Users/indrejitathipathi/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 232, in _on_sync_done
    sync_with_ankiweb(on_done=partial(on_done, future_with_result(None)))
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/indrejitathipathi/Library/Application Support/Anki2/addons21/1322529746/gui/utils.py", line 765, in sync_with_ankiweb
    on_done()
    ~~~~~~~^^

  File "/Users/indrejitathipathi/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 108, in sync_with_ankiweb
    original_sync_collection_and_media(*args, **kwargs, after_sync=new_after_sync)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/indrejitathipathi/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py", line 1113, in _sync_collection_and_media
    sync_collection(self, on_done=on_collection_sync_finished)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/indrejitathipathi/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/sync.py", line 98, in sync_collection
    raise Exception("expected auth")

Exception: expected auth


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/Users/indrejitathipathi/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 152, in raise_exception
    raise exception

  File "/Users/indrejitathipathi/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 148, in _on_closures_pending
    closure()
    ~~~~~~~^^

  File "/Users/indrejitathipathi/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 105, in sync_with_ankiweb
    original_sync_collection_and_media(*args, **kwargs, after_sync=new_after_sync)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/indrejitathipathi/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py", line 1113, in _sync_collection_and_media
    sync_collection(self, on_done=on_collection_sync_finished)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/indrejitathipathi/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/sync.py", line 98, in sync_collection
    raise Exception("expected auth")

Exception: expected auth

Sentry link (for developers)

Hello,

Please log out of the AnkiHub add-on, then log back in, and restart Anki.

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