Baseflow / Baseflow/flutter_cached_network_image
PathNotFoundException: Cannot delete file
- Dominant language
- Dart
- Stars
- 2.6k
- Forks
- 731
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
## 🐛 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] :iphone: iOS
- [?] :robot: Android
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.