Add on error

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

Error message (don't change this)
Anki 24.11 (87ccd24e)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.4.1-arm64-arm-64bit

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 "/Users/liabizuneh/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 177, in on_failure
    on_done(future_with_exception(exception))

  File "/Users/liabizuneh/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 100, 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 "/Users/liabizuneh/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 166, in <lambda>
    op=lambda _: ah_deck_updater.update_decks_and_media(

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

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

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

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

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

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

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

  File "/Users/liabizuneh/Library/Application Support/Anki2/addons21/1322529746/main/importing.py", line 299, 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>Basic-Pathoma (Duke's Pathoma / Bjorn2Run)<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)

This appears to be an issue with your note type “Basic-Pathoma (Duke’s Pathoma / Bjorn2Run”. It’s a cloze note type, but it is missing the {{cloze:Text}}.

Also, your Anki is outdated. This probably has nothing to do with the issue, but I would recommend keeping your Anki up to date. You can download it here: https://apps.ankiweb.net/. After downloading, simply run the downloaded file to update your application.

i just want to delete it at this point, how can i do that with the error message coming up

  1. Go to ankihub.net and unsubscribe from the deck related to the issue.
  2. Start Anki in Safe Mode to temporarily disable all add-ons. To do this, open Anki while holding down the Shift key.
  3. Delete the deck related to the issue. Also go to Tools > Manage Note Types and find the note type that is causing the issue, and delete it.
  4. Close Anki and open it again. You will have everything related to this note type deleted, and it will not download again because you unsubscribed from the deck on AnkiHub.

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