anki icon indicating copy to clipboard operation
anki copied to clipboard

"Card was modified" error message

Open dae opened this issue 1 year ago • 8 comments

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.

dae avatar Nov 24 '24 10:11 dae

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)

leematos avatar Jan 15 '25 16:01 leematos

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.

jaredar1232 avatar Jun 25 '25 14:06 jaredar1232

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?

leematos avatar Jun 25 '25 18:06 leematos

In case it's relevant, I got the error in the new reviewer in AnkiDroid 2.23.0alpha1.

Details
  1. In deck X enable auto advance with settings 0.1, 2.0, do not wait for audio, show answer, answer again.
  2. Make a filtered deck of cards in X.
  3. 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

    Image

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.

ZornHadNoChoice avatar Aug 11 '25 15:08 ZornHadNoChoice

Ah, never saw this issue. If it's any help, some of us have seen this during day rollovers.

brishtibheja avatar Aug 11 '25 17:08 brishtibheja

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:

  1. Study
  2. Flag the "first" card
  3. Press Show answer button (Space)
  4. Select answer button (key: 1-4) <-- error occurs

OR

  1. Study
  2. Press Show answer button (Space)
  3. Edit (correct a spelling mistake)
  4. Close
  5. 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

erickraus avatar Aug 19 '25 11:08 erickraus

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

quantumicrowave avatar Aug 30 '25 17:08 quantumicrowave

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

ZornHadNoChoice avatar Sep 22 '25 18:09 ZornHadNoChoice