You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A few EPUB files are not downloading in storage.
Expected behavior
It should download all the EPUB files.
Steps to reproduce the behavior:
Download Llyfrgell Prosiect Gutenberg - Llyfrau Cymraeg file.
Open it in the reader.
Open Y Gododin: A Poem of the Battle of Cattraeth article.
Click on the download image. You will see the error.
Now open another article e.g. Geiriadur Cymraeg a Saesneg Byr.
Click on the download image, it will download the epub file.
Environment
Version of Kiwix Android: 3.9.1
Device: Samsung A20
OS version: Android 12
Logs
Couldn't save file java.io.FileNotFoundException: /storage/emulated/0/Download/org.kiwix/Y Gododin: A Poem of the Battle of Cattraeth.9842.epub: open failed: EPERM (Operation not permitted) at libcore.io.IoBridge.open(IoBridge.java:492) at java.io.FileOutputStream.<init>(FileOutputStream.java:236) at java.io.FileOutputStream.<init>(FileOutputStream.java:186) at org.kiwix.kiwixmobile.core.utils.files.FileUtils.downloadFileFromUrl(FileUtils.kt:464) at org.kiwix.kiwixmobile.core.main.CoreWebViewClient.handleEpubAndPdf(CoreWebViewClient.kt:89) at org.kiwix.kiwixmobile.core.main.CoreWebViewClient.shouldOverrideUrlLoading(CoreWebViewClient.kt:52) at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(chromium-TrichromeWebViewGoogle.aab-stable-626106431:93) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:335) at android.os.Looper.loop(Looper.java:206) at android.app.ActivityThread.main(ActivityThread.java:8653) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130) Caused by: android.system.ErrnoException: open failed: EPERM (Operation not permitted) at libcore.io.Linux.open(Native Method) at libcore.io.ForwardingOs.open(ForwardingOs.java:166) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254) at libcore.io.ForwardingOs.open(ForwardingOs.java:166) at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8514) at libcore.io.IoBridge.open(IoBridge.java:478)
EPubNotOpening.mp4
The text was updated successfully, but these errors were encountered:
Describe the bug
A few EPUB files are not downloading in storage.
Expected behavior
It should download all the EPUB files.
Steps to reproduce the behavior:
Llyfrgell Prosiect Gutenberg - Llyfrau Cymraeg
file.Y Gododin: A Poem of the Battle of Cattraeth
article.Geiriadur Cymraeg a Saesneg Byr
.Environment
Logs
EPubNotOpening.mp4
The text was updated successfully, but these errors were encountered: