Today I came across the following error when I pressed Add after filling new note form. It happened to my few times on different computers - all with 2.1.29
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.29 (bbff62bf) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-07-31 20:57:52
Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 490, in handler
File "aqt\editor.py", line 479, in <lambda>
File "aqt\addcards.py", line 189, in _addCards
File "aqt\editor.py", line 591, in saveAddModeVars
File "lib\site-packages\anki\models.py", line 87, in save
File "lib\site-packages\anki\models.py", line 231, in update
File "lib\site-packages\anki\rsbackend_gen.py", line 414, in add_or_update_notetype
File "lib\site-packages\anki\rsbackend.py", line 265, in _run_command
anki.rsbackend.InvalidInput: InvalidInput { info: "attempt to save stale notetype" }
I didnât either add or update any addon.
After closing the error message I could add a new note without further errors.
I get this error every time I add a card on one of my machines when the previous card I added was on the other. âCheck Databaseâ fixes it, and I can then add the card.
Both machines are Windows 10, and Iâve seen this with Anki 2.1.28 and 2.1.29. No add-ons running on either.
Definitely never happened pre-pandemic, when I swapped between these machines frequently. Not sure when exactly it started because Iâve mostly been using one machine since then.
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.29 (bbff62bf) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2020-08-09 21:17:16
Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 490, in handler
File "aqt\editor.py", line 479, in <lambda>
File "aqt\addcards.py", line 189, in _addCards
File "aqt\editor.py", line 591, in saveAddModeVars
File "lib\site-packages\anki\models.py", line 87, in save
File "lib\site-packages\anki\models.py", line 231, in update
File "lib\site-packages\anki\rsbackend_gen.py", line 414, in add_or_update_notetype
File "lib\site-packages\anki\rsbackend.py", line 265, in _run_command
anki.rsbackend.InvalidInput: InvalidInput { info: "attempt to save stale notetype" }
Hi All,
I get the following error occasionally (1 per 30 cards perhaps) when I click âAddâ after making a new card.
The error happens on multiple computers. Iâve tried the standard âdatabase checkâ to no availâŚ
P.s. once I click the error away the card then saves normallyâŚ
Any help would be much appreciated
Thanks and best,
J
ERROR
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.29 (bbff62bf) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=False sv=1
Add-ons, last update check: 2020-08-11 21:31:25
Caught exception:
Traceback (most recent call last):
File âaqt\webview.pyâ, line 490, in handler
File âaqt\editor.pyâ, line 479, in
File âaqt\addcards.pyâ, line 189, in _addCards
File âaqt\editor.pyâ, line 591, in saveAddModeVars
File âlib\site-packages\anki\models.pyâ, line 87, in save
File âlib\site-packages\anki\models.pyâ, line 231, in update
File âlib\site-packages\anki\rsbackend_gen.pyâ, line 414, in add_or_update_notetype
File âlib\site-packages\anki\rsbackend.pyâ, line 265, in _run_command
anki.rsbackend.InvalidInput: InvalidInput { info: âattempt to save stale notetypeâ }
For what itâs worth, I also get this once in a while when pressing the âAddâ button on a new note. It seems entirely unpredictable, and after closing the error window, I can add the note fine. It persists in 2.1.30. Iâve not written about it here since Iâve not been able to predictably reproduce it.
Thanks for the answers . Iâve updated all software now (embarrassed I didnât notice the new version!).
Will post the error-dump, when it next pops up. As pinnerup says, its not a total loss of functionalityâŚjust a bit disconcerting
Thanks and best,
This error (or something very similar) happened to me just now as I was adding a cloze note. Again, Iâve not been able to consistently reproduce it; it seems random when it occurs. After closing the âErrorâ box, I press âAddâ once more and it adds the note as expected.
What steps did you take prior to clicking on add? Did you sync shortly prior to that?
Iâm not entirely sure, but I think I just started up Anki (at which point it automatically syncs) and then opened up the Add dialogue to add the note.
I probably selected the Cloze note type, but apart from that, I donât believe I did much else at that point. I realize thatâs not much to work with. Iâll keep an eye out and report if I notice something else.
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When youâve discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.30 (06a69c25) Python 3.8.1 Qt 5.15.0 PyQt 5.15.0
Platform: Linux
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-08-19 22:12:52
Caught exception:
Traceback (most recent call last):
File âaqt/webview.pyâ, line 493, in handler
File âaqt/editor.pyâ, line 485, in
File âaqt/addcards.pyâ, line 189, in _addCards
File âaqt/editor.pyâ, line 597, in saveAddModeVars
File âanki/models.pyâ, line 87, in save
File âanki/models.pyâ, line 231, in update
File âanki/rsbackend_gen.pyâ, line 414, in add_or_update_notetype
File âanki/rsbackend.pyâ, line 265, in _run_command
anki.rsbackend.InvalidInput: InvalidInput { info: âattempt to save stale notetypeâ }
This was not a cloze note, but a rather common reversed note. Also, this was on Linux, whereas the error above was on macOS. I donât believe I did anything but open Anki, press âAddâ and then enter the various data. As the other times, after closing the error window, I can add the note fine.