ankidroid / ankidroid/Anki-Android

AnkiDroid showing persistent problem report toast: "Anki already open, or media currently syncing."

Đang mở
#20,986 6 bình luận 0 reaction 1 người được giao Được @david-allison nhận Xem trên GitHub
2.24
Ngôn ngữ chính
Kotlin
Star
11.8k
Fork
2.9k
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
171

Mô tả

> Btw, you probably already know this, but AnkiDroid keeps showing toasts saying it has encountered an issue and sending a bug report.

https://ankidroid.org/acra/app/1/bug/400974/report/322798f2-eb4e-4eac-ac08-67f3395a315e

```
net.ankiweb.rsdroid.BackendException$BackendDbException$BackendDbLockedException: Anki already open, or media currently syncing.
at net.ankiweb.rsdroid.BackendException$BackendDbException$BackendDbLockedException.(BackendException.kt:102)
at net.ankiweb.rsdroid.BackendException$BackendDbException$Companion.fromDbError(BackendException.kt:125)
at net.ankiweb.rsdroid.BackendException$Companion.fromError(BackendException.kt:183)
at net.ankiweb.rsdroid.BackendKt.unpackResult(Backend.kt:322)
at net.ankiweb.rsdroid.BackendKt.access$unpackResult(Backend.kt:1)
at net.ankiweb.rsdroid.Backend.runMethodRaw$lambda$1(Backend.kt:133)
at net.ankiweb.rsdroid.Backend.withBackend(Backend.kt:145)
at net.ankiweb.rsdroid.Backend.runMethodRaw(Backend.kt:132)
at anki.backend.GeneratedBackend.openCollectionRaw(GeneratedBackend.kt:124)
at anki.backend.GeneratedBackend.openCollection(GeneratedBackend.kt:133)
at net.ankiweb.rsdroid.Backend.openCollection(Backend.kt:109)
at net.ankiweb.rsdroid.Backend.openCollection(Backend.kt:62)
at com.ichi2.anki.libanki.Storage.openDB$libanki(Storage.kt:58)
at com.ichi2.anki.libanki.Collection.reopen(Collection.kt:317)
at com.ichi2.anki.libanki.Collection.reopen$default(Collection.kt:303)
at com.ichi2.anki.libanki.Collection.(Collection.kt:180)
at com.ichi2.anki.libanki.Storage.collection(Storage.kt:38)
at com.ichi2.anki.CollectionManager.ensureOpenInner(CollectionManager.kt:275)
at com.ichi2.anki.CollectionManager.withCol$lambda$0(CollectionManager.kt:145)
at com.ichi2.anki.CollectionManager$withQueue$3.invokeSuspend(CollectionManager.java:128)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.java:124)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [k1{Cancelling}@b66e68b, Dispatchers.Main.immediate]

```

2.24.0

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.