I dont know the problem it iserrored

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

Error message (don't change this)
Anki 25.02.4 (a5c33ad0)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.26100

Traceback (most recent call last):

  File "aqt.taskman", line 144, in _on_closures_pending

  File "aqt.taskman", line 88, in <lambda>

  File "aqt.taskman", line 108, in wrapped_done

  File "aqt.operations", line 253, in wrapped_done

  File "C:\Users\asus\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 157, in on_failure
    on_done(future_with_exception(exception))

  File "C:\Users\asus\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py", line 99, 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 "aqt.operations", line 243, in wrapped_op

  File "C:\Users\asus\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 146, in <lambda>
    op=lambda _: ah_deck_updater.update_decks_and_media(

  File "C:\Users\asus\AppData\Roaming\Anki2\addons21\1322529746\gui\deck_updater.py", line 65, in update_decks_and_media
    self._update_decks(ah_dids)

  File "C:\Users\asus\AppData\Roaming\Anki2\addons21\1322529746\gui\deck_updater.py", line 88, in _update_decks
    should_continue = self._update_single_deck(ah_did)

  File "C:\Users\asus\AppData\Roaming\Anki2\addons21\1322529746\gui\deck_updater.py", line 102, in _update_single_deck
    result = self._fetch_and_apply_deck_updates(ankihub_did)

  File "C:\Users\asus\AppData\Roaming\Anki2\addons21\1322529746\gui\deck_updater.py", line 143, in _fetch_and_apply_deck_updates
    import_result = self._importer.import_ankihub_deck(

  File "C:\Users\asus\AppData\Roaming\Anki2\addons21\1322529746\main\importing.py", line 151, in import_ankihub_deck
    self._import_note_types(note_types=note_types)

  File "C:\Users\asus\AppData\Roaming\Anki2\addons21\1322529746\main\importing.py", line 195, in _import_note_types
    self._adjust_note_types_in_anki_db(note_types)

  File "C:\Users\asus\AppData\Roaming\Anki2\addons21\1322529746\main\importing.py", line 206, in _adjust_note_types_in_anki_db
    self._update_templates_and_css(remote_note_types)

  File "C:\Users\asus\AppData\Roaming\Anki2\addons21\1322529746\main\importing.py", line 318, in _update_templates_and_css
    aqt.mw.col.models.update_dict(updated_note_type)

  File "anki.models", line 227, in update_dict

  File "anki._backend_generated", line 1130, in update_notetype_legacy

  File "anki._backend", line 172, in _run_command

anki.errors.CardTypeError: Card template <U+2068>1<U+2069> in note type '<U+2068>UWSOM_Cloze (UW Deck [updated] / egrigore)<U+2069>' has a problem.<br>Expected to find a field replacement on the front of the card template.

Sentry link (for developers)

Hello,

The error was caused by the note type UWSOM_Cloze (UW Deck [updated] / egrigore). It seems that this note type has an invalid front template — it’s probably missing a field reference.

The best course of action is to try contacting the deck creator to report the issue. Unfortunately, since this isn’t related to an AnKing note type but rather to a note type from another deck, I’m not able to help much in this case :downcast_face_with_sweat:.

Let me know if you have any other issues or questions. We’re happy to help!:grin: