Error after opening anki

Before the error happened, I was…
about to start my first card

Error message (don't change this)
Anki 25.09.2 (3890e12c) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-14.2.1-x86_64-i386-64bit-Mach-O

Traceback (most recent call last):

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

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

  File "/Users/mauricio.tellez/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/taskman.py", line 88, in <lambda>
    lambda future: self.run_on_main(lambda: on_done(future))
                                            ~~~~~~~^^^^^^^^

  File "/Users/mauricio.tellez/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/operations/__init__.py", line 261, in wrapped_done
    self._success(future.result())
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^

  File "/Users/mauricio.tellez/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/overview.py", line 72, in success
    gui_hooks.overview_did_refresh(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^

  File "/Users/mauricio.tellez/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/_aqt/hooks.py", line 3905, in __call__
    hook(overview)
    ~~~~^^^^^^^^^^

  File "/Users/mauricio.tellez/Library/Application Support/Anki2/addons21/1322529746/gui/overview.py", line 39, in <lambda>
    """
    

  File "/Users/mauricio.tellez/Library/Application Support/Anki2/addons21/1322529746/gui/overview.py", line 70, in _maybe_add_flashcard_selector_button
    "FLASHCARD_SELECTOR_ENABLED": flashcard_selector_enabled,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/mauricio.tellez/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-x86_64-none/lib/python3.13/pathlib/_local.py", line 546, in read_text
    return PathBase.read_text(self, encoding, errors, newline)
           ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/mauricio.tellez/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-x86_64-none/lib/python3.13/pathlib/_abc.py", line 632, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors, newline=newline) as f:
         ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/mauricio.tellez/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-x86_64-none/lib/python3.13/pathlib/_local.py", line 537, in open
    return io.open(self, mode, buffering, encoding, errors, newline)
           ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

FileNotFoundError: [Errno 2] No such file or directory: '/Users/mauricio.tellez/Library/Application Support/Anki2/addons21/1322529746/gui/web/add_flashcard_selector_button.js'

Sentry link (for developers)

Hello,

Please ensure you are on the latest version of Anki. You can download it here: https://apps.ankiweb.net/. After downloading, simply run the downloaded file to update your application

Also update your AnkiHub add-on:

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

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