Anki Error
Closed this issue · 1 comments
Hi, I keep getting this message when trying to use the addon. What does it mean and how can I fix it?
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-12.6.3-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-10-06 02:35:43
Add-ons possibly involved: Enhanced Cloze for Anki 21
Caught exception:
Traceback (most recent call last):
File "anki.notes", line 154, in _field_index
KeyError: 'Content'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "aqt.webview", line 46, in cmd
File "aqt.webview", line 153, in _onCmd
File "aqt.webview", line 665, in _onBridgeCmd
File "aqt.reviewer", line 583, in _linkHandler
File "aqt.main", line 1215, in onEditCurrent
File "aqt", line 130, in open
File "aqt.editcurrent", line 31, in init
File "aqt.editor", line 495, in set_note
File "aqt.editor", line 519, in loadNote
File "/Users/carol/Library/Application Support/Anki2/addons21/1990296174/patches.py", line 79, in new_fields_check
result = original_fields_check(self)
File "anki.notes", line 195, in fields_check
File "anki.notes", line 70, in _to_backend_note
File "anki.hooks_gen", line 497, in call
File "/Users/carol/Library/Application Support/Anki2/addons21/1990296174/editor.py", line 21, in maybe_fill_in_or_remove_cloze99
if in_use_clozes():
File "/Users/carol/Library/Application Support/Anki2/addons21/1990296174/editor.py", line 17, in in_use_clozes
cloze_start_matches = re.findall(cloze_start_regex, note["Content"])
File "anki.notes", line 159, in getitem
File "anki.notes", line 156, in _field_index
KeyError: 'Content'
nevermind i fixed it!