Before the error happened, I was…
[syncing]
Error message (don't change this)
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.4.1-arm64-arm-64bit
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-07-28 06:10:59
Traceback (most recent call last):
File "anki.notes", line 154, in _field_index
KeyError: 'Sketchy 2'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "aqt.taskman", line 122, in _on_closures_pending
File "aqt.taskman", line 71, in <lambda>
File "aqt.taskman", line 90, in wrapped_done
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 28, in on_sync_done
on_done(future_with_exception(future.exception()))
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/auto_sync.py", line 74, in sync_with_ankiweb
future.result()
File "concurrent.futures._base", line 439, in result
File "concurrent.futures._base", line 391, in __get_result
File "concurrent.futures.thread", line 58, in run
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/sync.py", line 44, in sync_all_decks_and_media
self._sync_all_decks()
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/sync.py", line 73, in _sync_all_decks
should_continue = self._sync_deck(ah_did)
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/sync.py", line 85, in _sync_deck
result = self._download_updates_for_deck(ankihub_did)
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/sync.py", line 122, in _download_updates_for_deck
import_result = self._importer.import_ankihub_deck(
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/importing.py", line 101, in import_ankihub_deck
return self._import_ankihub_deck_inner(
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/importing.py", line 144, in _import_ankihub_deck_inner
dids = self._import_notes(
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/importing.py", line 190, in _import_notes
note = self._update_or_create_note(
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/importing.py", line 268, in _update_or_create_note
note = self._update_or_create_note_inner(
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/importing.py", line 321, in _update_or_create_note_inner
changed = self.prepare_note(
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/importing.py", line 380, in prepare_note
changed_fields = self._prepare_fields(
File "/Users/kyle/Library/Application Support/Anki2/addons21/1322529746/importing.py", line 442, in _prepare_fields
if note[field.name] != field.value:
File "anki.notes", line 159, in __getitem__
File "anki.notes", line 156, in _field_index
KeyError: 'Sketchy 2'