ankidroid / ankidroid/Anki-Android

[BUG] 2.23.0beta2 `exportCollectionPackage`: Failed to create file in '/data/local/tmp': Permission denied

Đang mở
#19,545 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
2.23 Priority-Low
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ả

https://ankidroid.org/acra/app/1/bug/359357/report/e0221922-b4d3-4674-886b-57439e6db04e

I don't believe this is new

```
net.ankiweb.rsdroid.BackendException$BackendCardTypeException: Failed to create file in '/data/local/tmp': Permission denied (os error 13) at path "/data/local/tmp/.tmpiWbHuw"
at net.ankiweb.rsdroid.exceptions.BackendIoException.(BackendIoException.java:23)
at net.ankiweb.rsdroid.BackendException$Companion.fromError(BackendException.kt:197)
at net.ankiweb.rsdroid.BackendKt.unpackResult(Backend.kt:317)
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.exportCollectionPackageRaw(GeneratedBackend.kt:2745)
at anki.backend.GeneratedBackend.exportCollectionPackage(GeneratedBackend.kt:2754)
at com.ichi2.anki.BackendExportingKt.exportCollectionPackage(BackendExporting.kt:131)
at com.ichi2.anki.BackendExportingKt.access$exportCollectionPackage(BackendExporting.kt:1)
at com.ichi2.anki.BackendExportingKt$exportCollectionPackage$2$1.invokeSuspend$lambda$0(BackendExporting.kt:59)
at com.ichi2.anki.CollectionManager.withCol$lambda$1(CollectionManager.kt:146)
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:101)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.java:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:823)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
```

```
11-19 10:05:02.264 I/AnkiDroid( 6734): isLegacyStorage(): current dir: /data/local/tmp/external/AnkiDroid
11-19 10:05:02.264 I/AnkiDroid( 6734): scoped external dirs: /data/local/tmp/external
11-19 10:05:02.264 I/AnkiDroid( 6734): scoped internal dir: /data/user/0/com.ichi2.anki/files
11-19 10:05:02.264 I/AnkiDroid( 6734): isLegacyStorage(): current dir: /data/local/tmp/external/AnkiDroid
11-19 10:05:02.264 I/AnkiDroid( 6734): scoped external dirs: /data/local/tmp/external
11-19 10:05:02.264 I/AnkiDroid( 6734): scoped internal dir: /data/user/0/com.ichi2.anki/files
```

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.