max-kammerer / orion-viewer

Orion Viewer is pdf, djvu, xps, cbz and tiff file viewer for Android devices based on mupdf and DjVuLibre libraries
Other
159 stars 52 forks source link

Error during file saving #54

Open Codemonpays opened 3 months ago

Codemonpays commented 3 months ago
        [Please provide additional details (steps to reproduce issue)]

        Orion Version: 0.92.4 (2203)}
        Android Version: 12 (31)
        ```
        Cause: open failed: ENOENT (No such file or directory)

Additional info: targetFile=file:///data/user/0/universe.constellation.orion.viewer/cache/content/test_book8066815787847434820.jpg

Intent info: Intent { act=android.intent.action.VIEW dat=content://com.duckduckgo.mobile.android.provider/external_files/Download/71Q5z6ppxQL._AC_UF1000,1000_QL80FMwebp.jpg typ=image/jpeg flg=0x13100001 cmp=universe.constellation.orion.viewer/.OrionViewerActivity bnds=[107,33][373,674] }

java.io.FileNotFoundException: open failed: ENOENT (No such file or directory) at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:151) at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:780) at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:2027) at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1842) at android.content.ContentResolver.openInputStream(ContentResolver.java:1518) at universe.constellation.orion.viewer.FallbackDialogs$Companion$saveFileByUri$2$1.invokeSuspend(SourceFile:20) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:115) at androidx.core.app.ActivityRecreator$1.run(SourceFile:14) at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:3) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:92)