question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

W/System.err: remove failed: ENOENT (No such file or directory)

See original GitHub issue

W/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:closed
  • Created 6 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
swankjessecommented, Feb 18, 2018

Unclear what action to take here.

1reaction
yschimkecommented, Oct 13, 2017

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found