Error

Before the error happened, I was…
[I had just started anki and clicked on the ankore deck.]

Error message (don't change this)
Anki 24.06.3 (d678e393)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):

  File "aqt.webview", line 50, in cmd

  File "aqt.webview", line 160, in _onCmd

  File "aqt.webview", line 695, in _onBridgeCmd

  File "aqt.overview", line 97, in _linkHandler

  File "aqt.main", line 741, in moveToState

  File "aqt.main", line 762, in _reviewState

  File "aqt.reviewer", line 180, in show

  File "aqt.reviewer", line 200, in refresh_if_needed

  File "aqt.reviewer", line 256, in nextCard

  File "aqt.reviewer", line 340, in _initWeb

  File "aqt.webview", line 543, in stdHtml

  File "_aqt.hooks", line 5481, in __call__

  File "C:\Users\adams\AppData\Roaming\Anki2\addons21\1322529746\gui\reviewer.py", line 298, in _add_ankihub_ai_and_sidebar_and_buttons
    """Sets up the AnkiHub AI chatbot. Adds the "View on AnkiHub" button to the reviewer toolbar."""

  File "pathlib", line 1266, in read_text

  File "pathlib", line 1252, in open

  File "pathlib", line 1120, in _opener

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

Sentry link (for developers)

Hello,

My most immediate recommendation would be to upgrade your version of Anki to the most stable release (24.11). The most recent version of Anki can always be found on the Anki website: https://apps.ankiweb.net/

From there, I would also recommend updating all of your addons. From within Anki, Tools - Addons - Check for updates.

Let me know if that helps. :slight_smile: