Error

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

Error message (don't change this)
Anki 24.06.3 (d678e393)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.5-arm64-arm-64bit

Traceback (most recent call last):

  File "aqt.webview", line 50, in cmd

  File "aqt.webview", line 160, in _onCmd

  File "aqt.webview", line 695, in _onBridgeCmd

  File "aqt.editor", line 425, in onBridgeCmd

  File "_aqt.hooks", line 2542, in __call__

  File "/Users/ryanwelch/Library/Application Support/Anki2/addons21/1322529746/gui/editor.py", line 95, in _on_field_unfocus_auto_protect
    ah_field_names_lower = {f.lower() for f in ankihub_db.note_type_field_names(NotetypeId(note.mid))}

  File "/Users/ryanwelch/Library/Application Support/Anki2/addons21/1322529746/db/db.py", line 592, in note_type_field_names
    (field for field in self.note_type_dict(anki_note_type_id)["flds"]),

TypeError: 'NoneType' object is not subscriptable

Sentry link (for developers)

Please ensure you are on the latest version of Anki. You can download it here: https://apps.ankiweb.net/. After downloading, simply run the downloaded file to update your application.

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