AnkiHub Tour error

Before the error happened, I was…
going through the AnkiHub tour. I don’t need it but just wanted to explore the new feature.

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: Windows-11-10.0.26200-SP0

Traceback (most recent call last):

  File "C:\Users\vishw\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\decorator.py", line 235, in fun
    return caller(func, *(extras + args), **kw)

  File "C:\Users\vishw\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\anki\hooks.py", line 91, in decorator_wrapper
    return repl(*args, **kwargs)

  File "C:\Users\vishw\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\anki\hooks.py", line 83, in repl
    return new(*args, **kwargs)

  File "C:\Users\vishw\AppData\Roaming\Anki2\addons21\1322529746\gui\tutorial.py", line 1275, in after_close
    self.go_to_step("browse_button")
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^

  File "C:\Users\vishw\AppData\Roaming\Anki2\addons21\1322529746\gui\tutorial.py", line 385, in wrapper
    func(tutorial, *args, **kwargs)
    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\vishw\AppData\Roaming\Anki2\addons21\1322529746\gui\tutorial.py", line 740, in go_to_step
    self._cleanup_step()
    ~~~~~~~~~~~~~~~~~~^^

  File "C:\Users\vishw\AppData\Roaming\Anki2\addons21\1322529746\gui\tutorial.py", line 694, in _cleanup_step
    webviews.add(webview_for_context(context))
                 ~~~~~~~~~~~~~~~~~~~^^^^^^^^^

  File "C:\Users\vishw\AppData\Roaming\Anki2\addons21\1322529746\gui\tutorial.py", line 274, in webview_for_context
    assert False, f"Webview context of type {type(context)} is not handled"
           ^^^^^

AssertionError: Webview context of type <class 'NoneType'> is not handled

Sentry link (for developers)

It looks like you’re using an older version of the add-on. You can update from Tools>Add-ons>Check for Updates.

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