Every time I open the Browse window in Anki, the error message below pops up

I asked Claude to look into it, and this is what it found :slight_smile: : It seems that AnkiHub is not yet compatible with the new editor in Anki 26.9: in gui/editor.py, line 350, _refresh_buttons accesses editor.note, but the new NewEditor class no longer has a note attribute.

Error message (don't change this)
Anki 26.09.3 (29bb700b) (ao)
Python 3.13.15 Qt 6.11.2 PyQt 6.11.0
Platform: macOS-27.0.1-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 812, in handler

  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/editor.py", line 433, in oncallback

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

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

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

Sentry link (for developers)

Hello,

Go to Anki → Preferences → Experiments → disable the experimental editor

Then completely quit and reopen Anki

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