Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Face flashcard error #17933

Open
3 of 4 tasks
Kobayashi-996 opened this issue Feb 7, 2025 · 4 comments
Open
3 of 4 tasks

Face flashcard error #17933

Kobayashi-996 opened this issue Feb 7, 2025 · 4 comments

Comments

@Kobayashi-996
Copy link

Checked for duplicates?

  • This issue is not a duplicate

Does it also happen in the desktop version?

  • This bug does not occur in the latest version of Anki Desktop

What are the steps to reproduce this bug?

When using the undo function, the error occurs.
I have tried to reproduce again but failed.
I recorded the screenshots and logcat.

Screenshots
Image

Image

Logcat

02-05 10:48:58.448 1893 2364 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
02-05 10:48:58.467 9619 9619 E eglCodecCommon: GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1
02-05 10:48:59.302 1893 1916 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
02-05 10:48:59.310 9647 9647 E eglCodecCommon: GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1
02-05 10:49:00.977 1893 2364 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
02-05 10:49:00.991 9696 9696 E eglCodecCommon: GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1
02-05 10:49:01.470 1936 1958 E memtrack: Couldn't load memtrack module
02-05 10:49:01.482 1936 1958 E memtrack: Couldn't load memtrack module
02-05 10:49:01.491 1936 1958 E memtrack: Couldn't load memtrack module
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: net.ankiweb.rsdroid.exceptions.BackendInvalidInputException: bug: card modified without updating queue: id:1738723394348 card:1738723394 entry:1738723735
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.exceptions.BackendInvalidInputException$Companion.fromInvalidInputError(BackendInvalidInputException.kt:37)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.BackendException$Companion.fromError(BackendException.kt:116)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.BackendKt.unpackResult(Backend.kt:281)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.BackendKt.access$unpackResult(Backend.kt:1)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.Backend.runMethodRaw$lambda$1(Backend.kt:118)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.Backend.$r8$lambda$rLALQVYPlbbEmpwIB7kwMA6SO_U(Unknown Source:0)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.Backend$$ExternalSyntheticLambda2.invoke(D8$$SyntheticClass:0)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.Backend.withBackend(Backend.kt:131)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.Backend.runMethodRaw(Backend.kt:117)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at anki.backend.GeneratedBackend.getQueuedCardsRaw(GeneratedBackend.kt:700)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at anki.backend.GeneratedBackend.getQueuedCards(GeneratedBackend.kt:706)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.libanki.sched.Scheduler.getQueuedCards(Scheduler.kt:138)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.libanki.sched.Scheduler.currentQueueState(Scheduler.kt:112)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.Reviewer.updateCurrentCard$lambda$7(Reviewer.kt:1066)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.Reviewer.$r8$lambda$-zXhroxHwX_eX2kkVxH-xau2-x8(Unknown Source:0)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.Reviewer$$ExternalSyntheticLambda8.invoke(D8$$SyntheticClass:0)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.CollectionManager.withCol$lambda$1(CollectionManager.kt:123)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.CollectionManager.$r8$lambda$ffr4nUlMOyAvThaKA2WuJlnLaPU(Unknown Source:0)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.CollectionManager$$ExternalSyntheticLambda9.invoke(D8$$SyntheticClass:0)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.CollectionManager$withQueue$3.invokeSuspend(CollectionManager.kt:105)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.CoroutineHelpersKt.launchCatchingTask(CoroutineHelpers.kt:230)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.CoroutineHelpersKt.launchCatchingTask$default(CoroutineHelpers.kt:226)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.AbstractFlashcardViewer.refreshIfRequired$AnkiDroid_amazonDebug(AbstractFlashcardViewer.kt:647)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.AbstractFlashcardViewer.refreshIfRequired$AnkiDroid_amazonDebug$default(AbstractFlashcardViewer.kt:639)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.AbstractFlashcardViewer.opExecuted(AbstractFlashcardViewer.kt:2675)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.libanki.ChangeManager.notifySubscribers(ChangeManager.kt:87)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.libanki.ChangeManager.notifySubscribers$AnkiDroid_amazonDebug(ChangeManager.kt:116)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.ichi2.libanki.ChangeManagerKt$undoableOp$3$1.invokeSuspend(ChangeManager.kt:154)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at android.os.Handler.handleCallback(Handler.java:873)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at android.os.Handler.dispatchMessage(Handler.java:99)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at android.os.Looper.loop(Looper.java:193)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at android.app.ActivityThread.main(ActivityThread.java:6669)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at java.lang.reflect.Method.invoke(Native Method)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
02-05 10:49:02.056 3707 3707 E CoroutineHelpersKt: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
02-05 10:49:02.470 1936 1958 E memtrack: Couldn't load memtrack module
02-05 10:49:02.694 1893 2011 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
02-05 10:49:02.750 9733 9733 E eglCodecCommon: GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1
02-05 10:49:03.612 1893 2011 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
02-05 10:49:03.623 9761 9761 E eglCodecCommon: GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1
02-05 10:49:05.305 1893 2011 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
02-05 10:49:05.313 9795 9795 E eglCodecCommon: GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1
02-05 10:49:06.105 1893 2364 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
02-05 10:49:06.114 9826 9826 E eglCodecCommon: GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: net.ankiweb.rsdroid.exceptions.BackendInvalidInputException: card was modified: Normal(
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: New(
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: NewState {
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: position: 1,
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: },
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: ),
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: ) Normal(
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: Learning(
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: LearnState {
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: remaining_steps: 2,
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: scheduled_secs: 60,
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: elapsed_secs: 4294967021,
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: memory_state: None,
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: },
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: ),
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: )
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.exceptions.BackendInvalidInputException$Companion.fromInvalidInputError(BackendInvalidInputException.kt:37)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.BackendException$Companion.fromError(BackendException.kt:116)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.BackendKt.unpackResult(Backend.kt:281)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.BackendKt.access$unpackResult(Backend.kt:1)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.Backend.runMethodRaw$lambda$1(Backend.kt:118)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.Backend.$r8$lambda$rLALQVYPlbbEmpwIB7kwMA6SO_U(Unknown Source:0)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.Backend$$ExternalSyntheticLambda2.invoke(D8$$SyntheticClass:0)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.Backend.withBackend(Backend.kt:131)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at net.ankiweb.rsdroid.Backend.runMethodRaw(Backend.kt:117)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at anki.backend.GeneratedBackend.answerCardRaw(GeneratedBackend.kt:711)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at anki.backend.GeneratedBackend.answerCard(GeneratedBackend.kt:716)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.libanki.sched.Scheduler.answerCard(Scheduler.kt:144)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.Reviewer.answerCardInner$lambda$10(Reviewer.kt:1080)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.Reviewer.$r8$lambda$Mba0Im3va_0E4UW29d8VinM1nSo(Unknown Source:0)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.Reviewer$$ExternalSyntheticLambda1.invoke(D8$$SyntheticClass:0)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.libanki.ChangeManagerKt.undoableOp$lambda$0(ChangeManager.kt:151)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.libanki.ChangeManagerKt.$r8$lambda$nfOTnN_QmO6PfFJdkZgJou8q83U(Unknown Source:0)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.libanki.ChangeManagerKt$$ExternalSyntheticLambda1.invoke(D8$$SyntheticClass:0)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.CollectionManager.withCol$lambda$1(CollectionManager.kt:123)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.CollectionManager.$r8$lambda$ffr4nUlMOyAvThaKA2WuJlnLaPU(Unknown Source:0)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.CollectionManager$$ExternalSyntheticLambda9.invoke(D8$$SyntheticClass:0)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.CollectionManager$withQueue$3.invokeSuspend(CollectionManager.kt:105)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.CoroutineHelpersKt.launchCatchingTask(CoroutineHelpers.kt:230)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.CoroutineHelpersKt.launchCatchingTask$default(CoroutineHelpers.kt:226)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.AbstractFlashcardViewer.answerCard$lambda$15(AbstractFlashcardViewer.kt:857)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.AbstractFlashcardViewer.$r8$lambda$E47CR7eE7e1wgbpoHUn9CV-7PL0(Unknown Source:0)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.AbstractFlashcardViewer$$ExternalSyntheticLambda31.invoke(D8$$SyntheticClass:0)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.utils.OnlyOnce.preventSimultaneousExecutions(OnlyOnce.kt:48)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.AbstractFlashcardViewer.answerCard(AbstractFlashcardViewer.kt:856)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.AbstractFlashcardViewer$SelectEaseHandler.onClick(AbstractFlashcardViewer.kt:431)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.reviewer.EaseButton.setListeners$lambda$0(EaseButton.kt:76)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.reviewer.EaseButton.$r8$lambda$uIozAmA4u9kBcKK6Ps0s37STnQo(Unknown Source:0)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.ichi2.anki.reviewer.EaseButton$$ExternalSyntheticLambda1.onClick(D8$$SyntheticClass:0)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at android.view.View.performClick(View.java:6597)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at android.view.View.performClickInternal(View.java:6574)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at android.view.View.access$3100(View.java:778)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at android.view.View$PerformClick.run(View.java:25885)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at android.os.Handler.handleCallback(Handler.java:873)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at android.os.Handler.dispatchMessage(Handler.java:99)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at android.os.Looper.loop(Looper.java:193)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at android.app.ActivityThread.main(ActivityThread.java:6669)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at java.lang.reflect.Method.invoke(Native Method)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
02-05 10:49:06.630 3707 3707 E CoroutineHelpersKt: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Expected behaviour

Normal Operation

Debug info

AnkiDroid Version = 2.21alpha11-debug (36d72441509a8c566b14bb48dbcf5c39159e13f6)
Backend Version = 0.1.49-anki25.01rc1 (25.01rc1 b65fa693dacbd92c0bdd2a8c3800d0827432d108)
Android Version = 9 (SDK 28)
ProductFlavor = amazon
Device Info = Google | google | generic_x86_arm | sdk_gphone_x86_arm | AOSP on IA Emulator | ranchu
Webview User Agent = Mozilla/5.0 (Linux; Android 9; AOSP on IA Emulator Build/PSR1.180720.122; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Mobile Safari/537.36
ACRA UUID = 18cbbdb4-0ef4-463e-887c-fa638e4d512e
FSRS = 2.0.2 (Enabled: false)
Crash Reports Enabled = false

(Optional) Anything else you want to share?

No response

Research

  • I have checked the manual and the FAQ and could not find a solution to my issue
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)
Copy link

welcome bot commented Feb 7, 2025

Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing

@Scapesfear
Copy link
Contributor

will look into it.

@Pankajkumar2608
Copy link

can i work on it. there is no response from scapesfear. @

@Scapesfear
Copy link
Contributor

Scapesfear commented Mar 2, 2025

Hi @Pankajkumar2608 i was busy with exams, but they are over by today itself, if you have found a solution go ahead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants