Can't export my previous files

I cannot export my files as a anki-file. It gives me this information:

Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.15.7
Flags: frz=True ao=False sv=3
Add-ons, last update check: 2022-06-22 08:46:36

Caught exception:
Traceback (most recent call last):
File “aqt/taskman.py”, line 101, in _on_closures_pending
File “aqt/taskman.py”, line 71, in
File “aqt/exporting.py”, line 173, in on_done
File “concurrent/futures/_base.py”, line 432, in result
File “concurrent/futures/_base.py”, line 388, in __get_result
File “concurrent/futures/thread.py”, line 57, in run
File “aqt/exporting.py”, line 167, in do_export
File “anki/exporting.py”, line 342, in exportInto
File “anki/exporting.py”, line 350, in doExport
File “anki/exporting.py”, line 253, in exportInto
File “anki/models.py”, line 539, in update
File “anki/_backend/generated.py”, line 450, in add_or_update_notetype
File “anki/_backend/init.py”, line 131, in _run_command
anki.errors.TemplateError: Card template ⁨1⁩ in notetype ‘⁨Cloze-739c1⁩’ has a problem.
Expected to find ‘{{cloze:Text}}’ or similar on the front and back of the card template.

This is the crucial part:

You’ll need to fix that card template before you can export the deck. To access the template editor, click on the “Cards…” button in the note editor (Add window or Browser while the notetype Cloze-739c1 is selected) OR go to Manage Notetypes and select Cloze-739c1 there, then click on “Cards…” on the right side.

2 Likes

In particular, that error says you are lacking something of the form {{cloze:A Field}}, which indicates Anki it has to generate the cards for the cloze deletions found in the field A Field. Adding something like that (or changing note type to an non-cloze one) should solve your issue.

2 Likes