Before the error happened, I was…
trying to sync with ankihub
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-12.6.3-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-01-03 15:22:00
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/karinalukovits/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 43, in on_sync_done
on_done(future_with_exception(future.exception()))
File "/Users/karinalukovits/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 281, in on_done
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/karinalukovits/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 36, in <lambda>
task=lambda: ah_deck_updater.update_decks_and_media(to_sync_ah_dids),
File "/Users/karinalukovits/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 53, in update_decks_and_media
self._update_decks(ah_dids)
File "/Users/karinalukovits/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 76, in _update_decks
should_continue = self._update_single_deck(ah_did)
File "/Users/karinalukovits/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 90, in _update_single_deck
result = self._download_updates_for_deck(ankihub_did)
File "/Users/karinalukovits/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 131, in _download_updates_for_deck
import_result = self._importer.import_ankihub_deck(
File "/Users/karinalukovits/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 126, in import_ankihub_deck
self._import_note_types(note_types=note_types)
File "/Users/karinalukovits/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 161, in _import_note_types
_adjust_note_types_in_anki_db(note_types)
File "/Users/karinalukovits/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 615, in _adjust_note_types_in_anki_db
_ensure_local_and_remote_fields_are_same(remote_note_types)
File "/Users/karinalukovits/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 674, in _ensure_local_and_remote_fields_are_same
aqt.mw.col.models.update_dict(local_note_type)
File "anki.models", line 223, in update_dict
File "anki._backend_generated", line 862, in update_notetype_legacy
File "anki._backend", line 156, in _run_command
anki.errors.CardTypeError: Card template <U+2068>1<U+2069> in notetype '<U+2068>AnKingOverhaul (AnKing / AnKingMed)<U+2069>' has a problem.<br>Expected to find a field replacement on the front of the card template.