Ankihub error

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

Error message (don't change this)
Anki 25.07.3 (65b5aefd) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: Windows-11-10.0.26200-SP0

Traceback (most recent call last):

  File "C:\Users\Andre\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\taskman.py", line 152, in raise_exception
    raise exception

  File "C:\Users\Andre\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\taskman.py", line 148, in _on_closures_pending
    closure()
    ~~~~~~~^^

  File "C:\Users\Andre\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\taskman.py", line 88, in <lambda>
    lambda future: self.run_on_main(lambda: on_done(future))
                                            ~~~~~~~^^^^^^^^

  File "C:\Users\Andre\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\operations\__init__.py", line 261, in wrapped_done
    self._success(future.result())
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^

  File "C:\Users\Andre\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\overview.py", line 72, in success
    gui_hooks.overview_did_refresh(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^

  File "C:\Users\Andre\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\_aqt\hooks.py", line 3905, in __call__
    hook(overview)
    ~~~~^^^^^^^^^^

  File "C:\Users\Andre\AppData\Roaming\Anki2\addons21\1322529746\gui\overview.py", line 39, in <lambda>
    """
    

  File "C:\Users\Andre\AppData\Roaming\Anki2\addons21\1322529746\gui\overview.py", line 70, in _maybe_add_flashcard_selector_button
    "FLASHCARD_SELECTOR_ENABLED": flashcard_selector_enabled,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\Andre\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\pathlib\_local.py", line 546, in read_text
    return PathBase.read_text(self, encoding, errors, newline)
           ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\Andre\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\pathlib\_abc.py", line 632, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors, newline=newline) as f:
         ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\Andre\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\pathlib\_local.py", line 537, in open
    return io.open(self, mode, buffering, encoding, errors, newline)
           ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Andre\\AppData\\Roaming\\Anki2\\addons21\\1322529746\\gui\\web\\add_flashcard_selector_button.js'

Sentry link (for developers)

Hello,

Please follow these steps to update Anki and the AnkiHub add-on:

  1. Update Anki
    You can download it here: https://apps.ankiweb.net/. After downloading, simply run the downloaded file to update your application.

  2. Update the AnkiHub Add-on
    On your Anki main screen, go to Tools > Add-ons > Check for Updates. After the update is complete, please restart Anki.

See if the error persists