When I want to go to the next slide, every other slide an error message pops up. I tried searching for the error on Google, but couldn’t find anything useful. I am using the German version.
The error message says:
“Ein Fehler ist aufgetreten.”
Could you try to describe the error in more detail? Is there an option that says “Copy Debug Info” or equivalent? Could you try to explain what you are doing before the error pops up and what happens once the error pops up?
Yes, there is an option, that says “copy debug information”.
I can open the app normally, even the samples work at times. But after a couple of slides the error message pops up and I can`t continue.
Does that help?
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.4.1-x86_64-i386-64bit
Traceback (most recent call last):
File "aqt.webview", line 188, in cmd
File "aqt.webview", line 273, in _onCmd
File "aqt.webview", line 801, in _onBridgeCmd
File "aqt.overview", line 98, in _linkHandler
File "aqt.main", line 780, in moveToState
File "aqt.main", line 801, in _reviewState
File "aqt.reviewer", line 183, in show
File "aqt.reviewer", line 203, in refresh_if_needed
File "aqt.reviewer", line 261, in nextCard
File "aqt.reviewer", line 376, in _showQuestion
File "anki.cards", line 140, in question
File "anki.cards", line 156, in render_output
File "anki.template", line 222, in render
File "anki.template", line 269, in _partially_render
File "anki._backend_generated", line 1480, in render_existing_card
File "anki._backend", line 172, in _run_command
anki.errors.InvalidInput: missing template```
Open the Anki app, move your mouse to the top and then you should be able to see a bar which has some buttons on it with names like “File”, “Edit” and so on.
In accordance with the “teach people to fish” principle, I’ll let you know that a search in https://docs.ankiweb.net will give you almost everything you want to know about a particular option.
For example, searching “check database” gives me this:
. . . try the Tools → Check Database menu item to make sure your collection doesn’t have any problems.
For other contributors: The error states “1551 cards without template have been deleted. Database rebuilt and optimized”.
Anyways, you were missing a template. This shouldn’t normally happen. Did you want to keep the cards or are you okay with them being deleted? If you want to keep them, you should restore from a backup file now.