W/System.err: remove failed: ENOENT (No such file or directory)
See original GitHub issueW/System.err: remove failed: ENOENT (No such file or directory) : /data/user/0/com.abc.xyz/cache/picasso-cache/c1d640c64d6dfaba7ef9a9702c2e5ada.0
This issue doesn’t allow to cache image using Picasso
with OkHttp3Downloader
so Picasso failed to load image using .networkPolicy(NetworkPolicy.OFFLINE)
but load in normal online mode. What’s the solution?
This is what @JakeWharton said ref
Despite Picasso’s name being included in the path, Picasso has nothing to do with this. These are coming from the underlying HTTP client which is managing the disk cache and Picasso has no control over it. It looks like the cache dir might have been cleared out from underneath the HTTP client which won’t hurt anything.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Error: open failed: ENOENT (No such file or directory)
I bought a new SD card and tried it again, only to realize that still both release and debug mode did the same...
Read more >Android : Error: open failed: ENOENT (No such file or directory)
Android : Error : open failed : ENOENT ( No such file or directory ) [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >Open failed: ENOENT (No such file or directory) - B4X
Hi! Changing Manisfest to causes error once I install app on my device. An Error has ocurred in sub:main_writeini (Java line.
Read more >Error: Failed to add editor bundled package. ENOENT: no ...
I just fixed mine. This may help. The ENOENT (error no entity) error refers to Unity not being able to locate your packages...
Read more >How to fix: npm ERR! enoent ENOENT: no such file or ...
If you ever get this error, the hotfix is to follow these steps: delete node-modules folder; run command npm cache clean --force; run...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Unclear what action to take here.
@JakeWharton I will dig into this. This could be as simple as checking the file exists before attempting to delete. But also confirming that our cache behaves nicely when the cache is deleted underneath us.
https://android.googlesource.com/platform/libcore/+/jb-mr2-release/luni/src/main/native/libcore_io_Posix.cpp#1075
Seems like it comes from there.