-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileNotFoundException crashes app #99
Comments
Oh yea, I think I'm incorrectly assuming that content Uris will always be available. I'll fix this once I'm back home in a few days. telephoto/zoomable-image/coil/src/main/kotlin/me/saket/telephoto/zoomable/coil/CoilImageSource.kt Lines 193 to 198 in 676b0da
|
I’m back at my computer today and was able to reproduce the issue, but only under specific conditions: when the image has been deleted from the disk but remains in Coil’s memory cache. Could this be what’s happening with your users? Regression test: dd794df#diff-fc5fbc64d3d34d4b964b17bcdc367ce908897e49ae96a394ac9bd5f7957cb193 |
Possibly. this doesn't happen frequently so i have no way to check tbh. |
@saket Hi! I have this happen all the time on my work project. It doesn't happen on all devices, but I can replicate it on a Galaxy A6+ I can check the snapshot version with the fix if you can provide it to me |
@EvgenyMeltsaykin that'd be super helpful. Can you try out |
0.14.0 is out with a fix: https://github.com/saket/telephoto/releases/tag/0.14.0. Please let me know if you continue seeing these crashes? |
I am getting a couple of crashes in UhuruPhotos (savvasdalkitsis/uhuruphotos-android#976) relating to telephoto. I believe the cause issue could be that the app somehow thinks there is a local media file on disk to display and it tries to load it with telephoto, so there is something to be fixed there for sure but I still think that perhaps the library shouldn't crash when the file it tries to load is missing but perhaps handle it more graciously?
Thoughts?
The text was updated successfully, but these errors were encountered: