I was doing my reviews as normal, attempted to sync and this error message occurred. I tried deleting AnkiHub add-on and signing in and out of ankihub. Both of these efforts were unsuccessful at getting AnkiHub to sync. Appears only to occur for specifically the AnKing Overhaul deck.
Error message (don't change this)
Anki 2.1.62 (77dd1dc1) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.4-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-08-07 21:52:00
Traceback (most recent call last):
File "/Users/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 102, in _download_and_install_decks_inner
result.append(_download_and_install_single_deck(ah_did))
File "/Users/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 128, in _download_and_install_single_deck
result = _install_deck(
File "/Users/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 154, in _install_deck
import_result = importer.import_ankihub_deck(
File "/Users/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 101, in import_ankihub_deck
return self._import_ankihub_deck_inner(
File "/Users/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 144, in _import_ankihub_deck_inner
_adjust_note_types(remote_note_types)
File "/Users/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 538, in _adjust_note_types
_ensure_local_and_remote_fields_are_same(remote_note_types)
File "/Users/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 597, 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.
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/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 39, in on_install_done
on_done(future_with_exception(e))
File "/Users/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 22, in on_new_deck_subscriptions_done
on_done(future_with_exception(future.exception()))
File "/Users/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/gui/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 "/Users/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 37, in on_install_done
import_results: List[AnkiHubImportResult] = 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/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 85, in <lambda>
task=lambda: _download_and_install_decks_inner(ankihub_dids),
File "/Users/alexandergaito/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 114, in _download_and_install_decks_inner
raise exceptions[0]
1322529746.gui.exceptions.DeckDownloadAndInstallError: Error while downloading and installing deck e77aedfe-a636-40e2-8169-2fce2673187e: 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.