Can't export a deck?

Hey yall,
I have been unable to export a deck that was shared with me. Troubleshooting steps I have taken → Turned off all add ons, restarted anki, restarted computer, and checked database. Even when i have done all those things i receive error message which I put below (if you are into that kind of thing). Any help resolving this would be greatly appreciated.

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.46 (94913ec2) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2021-11-09 07:33:35

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-7e9e2⁩’ has a problem.
Expected to find ‘{{cloze:Text}}’ or similar on the front and back of the card template.

Error messages are not the enemy. :slightly_smiling_face:
It’s a check supposed to prevent you from exporting broken notetypes. In this case, you have a cloze notetype, but are not using the cloze filter, so it won’t create any cards.

4 Likes

Thanks. Probably stupid question but how do use the cloze filter so i can share this deck?

Please refer to the documentation for a detailed explanation on how to use cloze deletions.

2 Likes

What @BlackBeans said. But it also depends on what the cards of the notetype are supposed to look like. Maybe a better option would be to change the notetype of the affected notes. We can’t say without knowing the details.

The original deck author probably made a mistake. Please open the Browse screen, search for Cloze-7e9e2 on the left, and click on it. Then select all the cards on the right, and use the Notes>Change Notetype menu item. Change to “Cloze”, and it should resolve the issue.

That solved it! Thank you so much!