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

Remove ACRA Error: "Your collection needs to be upgraded to the v3 scheduler" #17385

Open
david-allison opened this issue Nov 7, 2024 · 1 comment

Comments

@david-allison
Copy link
Member

david-allison commented Nov 7, 2024

This doesn't need to be logged

https://ankidroid.org/acra/app/1/bug/253611/report/bddcf358-9c29-4931-b2db-c071a00d4da6

net.ankiweb.rsdroid.BackendException: Your collection needs to be upgraded to the v3 scheduler.
Please select Learn More before proceeding.
	at net.ankiweb.rsdroid.BackendException$Companion.fromError(BackendException.kt:127)
	at net.ankiweb.rsdroid.BackendKt.unpackResult(Backend.kt:281)
	at net.ankiweb.rsdroid.BackendKt.access$unpackResult(Backend.kt:1)
	at net.ankiweb.rsdroid.Backend.runMethodRaw$lambda$1(Backend.kt:118)
	at net.ankiweb.rsdroid.Backend.withBackend(Backend.kt:131)
	at net.ankiweb.rsdroid.Backend.runMethodRaw(Backend.kt:117)
	at anki.backend.GeneratedBackend.getPreferencesRaw(GeneratedBackend.kt:645)
	at anki.backend.GeneratedBackend.getPreferences(GeneratedBackend.kt:650)
	at com.ichi2.libanki.Collection.getPreferences(Collection.kt:760)
	at com.ichi2.anki.preferences.Preferences$Companion.getDayOffset$lambda$4(Preferences.kt:248)
	at com.ichi2.anki.CollectionManager.withCol$lambda$1(CollectionManager.kt:119)
	at com.ichi2.anki.CollectionManager$withQueue$3.invokeSuspend(CollectionManager.kt:103)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.java:111)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
@david-allison david-allison changed the title https://ankidroid.org/acra/app/1/bug/253611/report/bddcf358-9c29-4931-b2db-c071a00d4da6 Remove ACRA Error: "Your collection needs to be upgraded to the v3 scheduler" Nov 7, 2024
@mikehardy
Copy link
Member

If the strategy used in #17470 is valid (waiting on review there) then something similar could be done here I believe

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

2 participants