Add on Error

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-26.3.1-arm64-arm-64bit-Mach-O

Traceback (most recent call last):

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/webview.py", line 188, in cmd
    return json.dumps(self.onCmd(str))
                      ~~~~~~~~~~^^^^^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/webview.py", line 275, in _onCmd
    return self._onBridgeCmd(str)
           ~~~~~~~~~~~~~~~~~^^^^^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/webview.py", line 806, in _onBridgeCmd
    return self.onBridgeCmd(cmd)
           ~~~~~~~~~~~~~~~~^^^^^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/decorator.py", line 235, in fun
    return caller(func, *(extras + args), **kw)

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/anki/hooks.py", line 91, in decorator_wrapper
    return repl(*args, **kwargs)

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/anki/hooks.py", line 88, in repl
    return new(_old=old, *args, **kwargs)

  File "/Users/linhnghiem/Library/Application Support/Anki2/addons21/563204849/__init__.py", line 139, in myLinkHandler
    return _old(self, url)

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/overview.py", line 99, in _linkHandler
    self.mw.moveToState("review")
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py", line 779, in moveToState
    getattr(self, f"_{state}State", lambda *_: None)(oldState, *args)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py", line 800, in _reviewState
    self.reviewer.show()
    ~~~~~~~~~~~~~~~~~~^^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/reviewer.py", line 185, in show
    self.refresh_if_needed()
    ~~~~~~~~~~~~~~~~~~~~~~^^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/reviewer.py", line 205, in refresh_if_needed
    self.nextCard()
    ~~~~~~~~~~~~~^^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/reviewer.py", line 261, in nextCard
    self._initWeb()
    ~~~~~~~~~~~~~^^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/decorator.py", line 235, in fun
    return caller(func, *(extras + args), **kw)

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/anki/hooks.py", line 91, in decorator_wrapper
    return repl(*args, **kwargs)

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/anki/hooks.py", line 82, in repl
    old(*args, **kwargs)
    ~~~^^^^^^^^^^^^^^^^^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/reviewer.py", line 345, in _initWeb
    self.web.stdHtml(
    ~~~~~~~~~~~~~~~~^
        self.revHtml(),
        ^^^^^^^^^^^^^^^
    ...<6 lines>...
        context=self,
        ^^^^^^^^^^^^^
    )
    ^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/webview.py", line 646, in stdHtml
    gui_hooks.webview_will_set_content(web_content, context)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/_aqt/hooks.py", line 5608, in __call__
    hook(web_content, context)
    ~~~~^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/linhnghiem/Library/Application Support/Anki2/addons21/1322529746/gui/reviewer.py", line 408, in _inject_ankihub_features_and_setup_sidebar
    reviewer_sidebar = ReviewerSidebar(reviewer)

  File "/Users/linhnghiem/Library/Application Support/Anki2/addons21/1322529746/gui/reviewer.py", line 95, in __init__
    self._setup_ui()
    ~~~~~~~~~~~~~~^^

  File "/Users/linhnghiem/Library/Application Support/Anki2/addons21/1322529746/gui/reviewer.py", line 110, in _setup_ui
    self.header_webview = aqt.webview.AnkiWebView()
                          ~~~~~~~~~~~~~~~~~~~~~~~^^

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/decorator.py", line 235, in fun
    return caller(func, *(extras + args), **kw)

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/anki/hooks.py", line 91, in decorator_wrapper
    return repl(*args, **kwargs)

  File "/Users/linhnghiem/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/anki/hooks.py", line 83, in repl
    return new(*args, **kwargs)

  File "/Users/linhnghiem/Library/Application Support/Anki2/addons21/390813456/spellpopo.py", line 96, in setupBDIC
    profile = web._page.profile()
              ^^^^^^^^^

AttributeError: 'AnkiWebView' object has no attribute '_page'. Did you mean: 'page'?

Sentry link (for developers)

Hello,

It looks like this error is coming from the Spell Checker add-on.

If you have an AnKing VIP membership, you can update the add-on to fix this issue here: https://www.theanking.com/vip

If you don’t use the add-on, please disable or uninstall it via Tools > Add-ons and restart Anki.

Let us know if you need help with anything else. :blush:

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