Browse Issue

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-27.0-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/webview.py", line 195, in cmd

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

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

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

  File "/Users/yemanbakdalieh/Library/Application Support/Anki2/addons21/1322529746/gui/editor.py", line 428, in _on_js_message
    _refresh_buttons(context)
    ~~~~~~~~~~~~~~~~^^^^^^^^^

  File "/Users/yemanbakdalieh/Library/Application Support/Anki2/addons21/1322529746/gui/editor.py", line 352, in _refresh_buttons
    note = editor.note
           ^^^^^^^^^^^

AttributeError: 'NewEditor' object has no attribute 'note'

Sentry link (for developers)

Do you have the experimental editor enabled (added in Anki 26.08)? Note that it does not support add-ons yet.

Iโ€™m not sure if I do, I donโ€™t think so, how would I turn it on/off if I do?

You can see if its enabled by going to Anki in the top left โ†’ Preferences โ†’ Experiments

3 Likes

It worked, thank you!