Constant crashes of anki since updating (windows)

After entering Anki and just revising one or two cards, the app crashes and says “Anki encountered a problem please follow the troubleshooting steps.” I have followed the troubleshooting, disabled all add-ons but the error persists. I tried searching for the error on Google, but couldn’t find anything useful. I have copied and pasted the error message to the bottom of my post. I followed the steps on the ‘When problems occur’ page, but the error message does not go away. I have just recently updated Anki, last week, and there are no more updates. The app crashes no matter of what deck I study. What should I do?

Anki 23.12.1 (1a1d4d54)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22621

Traceback (most recent call last):
File “aqt.taskman”, line 142, in _on_closures_pending
File “aqt.taskman”, line 86, in
File “aqt.taskman”, line 106, in wrapped_done
File “aqt.operations”, line 127, in wrapped_done
File “aqt.reviewer”, line 537, in after_answer
File “aqt.reviewer”, line 550, in _after_answering
File “aqt.reviewer”, line 252, in nextCard
File “aqt.reviewer”, line 367, in _showQuestion
File “”, line 139, in question
File “”, line 155, in render_output
File “anki.template”, line 225, in render
File “anki.template”, line 272, in _partially_render
File “anki._backend_generated”, line 1415, in render_existing_card
File “anki._backend”, line 166, in _run_command
anki.errors.InvalidInput: missing template

Just to confirm, did you try Tools>Check Database? If it didn’t help, try the following:

  1. Find a card triggering the error.
  2. Open the card in the browser and find its note type.
  3. Search for all cards using that note type (you can do that from the sidebar) and use Notes>Change Notetype to switch them to a different note type.
  4. Delete the problematic notetype from your collection from Tools>Manage Notetypes.
1 Like

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