Ashinch / ReadYou

An Android RSS reader presented in Material You style.
GNU General Public License v3.0
5.14k stars 203 forks source link

图片资源加载失败 #698

Closed ron159 closed 5 months ago

ron159 commented 6 months ago

Version: 0.9.12 Device: OPPO PGEM10 System: Android 14 (API 34)

Stack trace:

java.lang.IllegalArgumentException: MIME type application/json cannot be inserted into content://media/external_primary/images/media; expected MIME type under image/* at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142) at android.content.ContentProviderProxy.insert(ContentProviderNative.java:589) at android.content.ContentResolver.insert(ContentResolver.java:2241) at android.content.ContentResolver.insert(ContentResolver.java:2197) at me.ash.reader.infrastructure.storage.AndroidImageDownloader$downloadImage$2.invokeSuspend(AndroidImageDownloader.kt:161) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:111) at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:4) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:3) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:96) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@1b50d7, Dispatchers.Main.immediate]

Ashinch commented 5 months ago

能定位到是哪张图片在哪个场景在出错的吗?

ron159 commented 5 months ago

能定位到是哪张图片在哪个场景在出错的吗?

纠正下此前的回复: 复现路径:点击任意显示为 裂开的默认图,点右上角保存,必现上面的报错

对比了feedme和reeder5,相同网络环境和相同订阅源,ReadYou加载图片的失败率更高。 诸如我常用的煎蛋(https://rsshub.techkoala.net/jandan/top) 列表中实际缩略图已经显示,但点击进入条目时,依然显示未加载