"Card was modified" error message
Originally reported on https://forums.ankiweb.net/t/error-message-error-card-was-modified/51296/11
I suspect it's related to learning cards becoming due, but nobody has figured out reproduction steps yet.
This happens to me often on iOS. I usually do my reviews late at night (11pm) and I'll be more precise tonight but I think repro steps look like this:
- open a deck and do some reviews.
- file a card as "again" (mine is <10 min)
- leave the app (on a card to be reviewed)
- let the day roll over in anki
- open app
- attempt to complete card on screen and get error
I haven't looked into the depths of the logic, but I speculated adding "on day rollover reload view" would probably solve the issue. (dunno how that would impact someone doing reviews as the day rolls over but was just an idle thought :D)
I’ve been having a lot of these recently. I think it’s been occurring more since using auto advance. I’m on iOS, iPhone 15 pro, latest iOS and Anki versions. Doing a Kaishi 1.5k deck. Happening at 10:30am.
Wildly enough, I'm also using Kaishi 1.5k.
I don't use auto advance. I have not had one of these "card was modified" errors in a while. I have tons of screenshots that I can share here, is there any info specifically I should be looking for in the output?
In case it's relevant, I got the error in the new reviewer in AnkiDroid 2.23.0alpha1.
Details
- In deck X enable auto advance with settings 0.1, 2.0, do not wait for audio, show answer, answer again.
- Make a filtered deck of cards in X.
- Study with auto advance on.
Withing seconds, I get the error. Terrifyingly, auto advance doesn't stop so it keeps adding more and more errors.
-
screenshot
Edit: I can't replicate this anymore (I also tried with 0.2 instead of 2.0). However, it is still possible to press an answer button at the same time as the auto advance which causes the error to appear.
Ah, never saw this issue. If it's any help, some of us have seen this during day rollovers.
I'm seeing this error if I modify either first/second card (during a Study session) and then click an answer button. However it is intermitent and I haven't been able to narrow if it's a certain field, note type or card type that is causing it. For now, seems somewhat random. (same activity back to back may / may not cause it)
Steps to reproduce:
- Study
- Flag the "first" card
- Press Show answer button (Space)
- Select answer button (key: 1-4) <-- error occurs
OR
- Study
- Press Show answer button (Space)
- Edit (correct a spelling mistake)
- Close
- Select answer button (key: 1-4) <-- error occurs
After the error, none of the answer buttons will work. I must click Decks, and start a study session again, which appears to reset for awhile.
Desktop (not seeing it on mobile) Version 25.02.5 (29192d15) Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Steps to reproduce:
1. Study 2. Flag the "first" card 3. Press Show answer button (Space) 4. Select answer button (key: 1-4) <-- error occurs
I have this exact problem on windows. Though only after flagging a card.
Version 25.02.5 (29192d15) Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
I found another way to get this error: press the undo and answer buttons at the same time. You can also use gestures to do this.
https://github.com/user-attachments/assets/38194739-9523-4ef6-8715-55ffc2b0a5e1
Edit: This can also give a "not at top of queue" error:
https://github.com/user-attachments/assets/62db6b5f-bffb-4e10-a8ed-0f9b6a3d0346