**Before the error happened, I was able to download the ankihub addon but get this error when trying to sync. Try to add the certificate already
Error message (don't change this)
Anki 24.06.3 (d678e393) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-13.5-arm64-arm-64bit
Traceback (most recent call last):
File "/Users/saifyasin/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 168, in _download_and_install_decks_inner
_download_and_install_single_deck(
File "/Users/saifyasin/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 204, in _download_and_install_single_deck
result = _install_deck(
File "/Users/saifyasin/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 238, in _install_deck
import_result = importer.import_ankihub_deck(
File "/Users/saifyasin/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/saifyasin/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/saifyasin/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/saifyasin/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 1097, in update_notetype_legacy
File "anki._backend", line 171, in _run_command
anki.errors.CardTypeError: Card template <U+2068>1<U+2069> in notetype '<U+2068>IO-one by one (AnKing / AnKingMed)<U+2069>' has a problem.<br>Expected to find '{{cloze:Text}}' or similar on the front and back of the card template.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "aqt.taskman", line 142, in _on_closures_pending
File "/Users/saifyasin/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/saifyasin/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
return func(*args, **kwargs)
File "/Users/saifyasin/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 96, in _on_new_deck_subscriptions_done
future.result()
File "concurrent.futures._base", line 439, in result
File "concurrent.futures._base", line 391, in __get_result
File "/Users/saifyasin/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
return func(*args, **kwargs)
File "/Users/saifyasin/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 85, 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/saifyasin/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 71, in <lambda>
task=lambda: _download_and_install_decks_inner(
File "/Users/saifyasin/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 187, 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>IO-one by one (AnKing / AnKingMed)<U+2069>' has a problem.<br>Expected to find '{{cloze:Text}}' or similar on the front and back of the card template.