Anki Deck isn't synching

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-12.2.1-x86_64-i386-64bit

Traceback (most recent call last):

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

  File "/Users/amandasieverts/Library/Application Support/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 "/Users/amandasieverts/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/amandasieverts/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 118, in _on_sync_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/amandasieverts/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 110, in <lambda>
    task=lambda: ah_deck_updater.update_decks_and_media(to_sync_ah_dids),

  File "/Users/amandasieverts/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 61, in update_decks_and_media
    self._update_decks(ah_dids)

  File "/Users/amandasieverts/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 84, in _update_decks
    should_continue = self._update_single_deck(ah_did)

  File "/Users/amandasieverts/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 98, in _update_single_deck
    result = self._fetch_and_apply_deck_updates(ankihub_did)

  File "/Users/amandasieverts/Library/Application Support/Anki2/addons21/1322529746/gui/deck_updater.py", line 135, in _fetch_and_apply_deck_updates
    import_result = self._importer.import_ankihub_deck(

  File "/Users/amandasieverts/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 145, in import_ankihub_deck
    self._import_note_types(note_types=note_types)

  File "/Users/amandasieverts/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 188, in _import_note_types
    _adjust_note_types_in_anki_db(note_types)

  File "/Users/amandasieverts/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 754, in _adjust_note_types_in_anki_db
    _update_templates_and_css(remote_note_types)

  File "/Users/amandasieverts/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 793, in _update_templates_and_css
    aqt.mw.col.models.update_dict(updated_note_type)

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

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

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

anki.errors.CardTypeError: Card template <U+2068>1<U+2069> in notetype '<U+2068>Image Occlusion Enhanced-9d5bf (Touro Deck Lecture / bradleyboman)-89105<U+2069>' has a problem.<br>Expected to find '{{cloze:Text}}' or similar on the front and back of the card template.

Sentry link (for developers)

Go to Tools > Manage Notetypes and delete the “Image Occlusion Enhanced-9d5bf (Touro Deck Lecture / bradleyboman)-89105<U+2069>” notetype then try syncing again.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.