Can't open up deck

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

Error message (don't change this)
Anki 26.08.1 (39e4b0b4) (ao)
Python 3.13.14 Qt 6.11.0 PyQt 6.11.0
Platform: macOS-14.5-arm64-arm-64bit-Mach-O

Traceback (most recent call last):

  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/main.py", line 1260, in closeEvent

  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/main.py", line 603, in unloadProfileAndExit

  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/main.py", line 577, in unloadProfile

  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/_aqt/hooks.py", line 4347, in __call__

  File "/Users/mayahafeez/Library/Application Support/Anki2/addons21/1898790263/contanki.py", line 92, in suspend
    self.stdHtml("")
    ~~~~~~~~~~~~^^^^

  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/webview.py", line 657, in stdHtml

  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/_aqt/hooks.py", line 5790, in __call__

  File "/Users/mayahafeez/Library/Application Support/Anki2/addons21/1322529746/gui/tutorial.py", line 708, in _on_webview_will_set_content
    js = self._render_tooltip(eval_js=False)

  File "/Users/mayahafeez/Library/Application Support/Anki2/addons21/1322529746/gui/tutorial.py", line 443, in _render_tooltip
    tooltip_web = webview_for_context(step.tooltip_context)

  File "/Users/mayahafeez/Library/Application Support/Anki2/addons21/1322529746/gui/tutorial.py", line 296, 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)

The attached error appears to be triggered on app shutdown. Are you getting a different error when you open a deck or is it just not showing anything?

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