Skip to content
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

PathNotFoundException: Cannot delete file #959

Open
joachimbulow opened this issue Jul 26, 2024 · 0 comments
Open

PathNotFoundException: Cannot delete file #959

joachimbulow opened this issue Jul 26, 2024 · 0 comments

Comments

@joachimbulow
Copy link

🐛 Bug Report

We are seeing tons of errros reported in debug mode and Crashlytics due to this library.

At this point i suspect a combination of using staleDuration and macNrOfCacheObjects may be the issue, but idk.

The error looks like this:
PathNotFoundException: Cannot delete file, path = '/var/mobile/Containers/Data/Application/B93E8C32-B37A-4447-9506-DCE70BDE8978/Library/Caches/image_or_placeholder/ef157500-49af-11ef-bb4b-b9800cbce33d.jpg' (OS Error: No such file or directory, errno = 2)

Although i think it only started happening once we specified shared cache_key.

Expected behavior

That the library internally handles missing cache files etc gracefully?

Reproduction steps

Not sure, as mentioned it may be due to invalid config.

Configuration

Version: ^3.2.1

Platform:

  • [17.5.1] 📱 iOS
  • [?] 🤖 Android
@joachimbulow joachimbulow changed the title PathNotFoundException Cannot delete file PathNotFoundException: Cannot delete file Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant