New bug

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

Error message (don't change this)
Anki 23.10 (51a10f09) Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-13.3-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-12-27 12:27:39

Traceback (most recent call last):

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

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

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

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

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

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

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

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

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

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

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

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

  File "/Users/joeyhibbard/Library/Application Support/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: '/Users/joeyhibbard/Library/Application Support/Anki2/addons21/1322529746/gui/web/ankihub_ai_old.js'

Sentry link (for developers)

Hello,

Try upgrading your Anki version and see if that solves your issue: https://apps.ankiweb.net/