Baseflow / Baseflow/flutter_cache_manager
OS Error: No such file or directory, errno = 2
- 主要语言
- Dart
- 星标
- 809
- 派生
- 510
- 平均合并
- 6 分钟
- 30 天内合并 PR
- 1
描述
## 🐛 Bug Report
```
FileSystemException: Cannot delete file, path = '/var/mobile/Containers/Data/Application/A293AAB5-BBED-44AD-8745-4473AEEE9FAD/Library/Caches/***AppCache/2144cf90-f178-11ec-a12a-35675c75ae1e.file' (OS Error: No such file or directory, errno = 2)
_File._delete. (dart:io/file_impl.dart:283)
_rootRunUnary (dart:async/zone.dart:1434)
ForwardingFileSystemEntity.delete (package:file/src/forwarding/forwarding_file_system_entity.dart:66)
CacheStore._removeCachedFile (package:flutter_cache_manager/src/cache_store.dart:190)
```
### Reproduction steps
On test devices, the problem was not detected. Information obtained from crash analytics.
After mapping user events with this error, no dependencies were found
### Configuration
**Version:**
Flutter 3.0.1
Tools • Dart 2.17.1 • DevTools 2.12.2
**Platform:**
- [ ] :robot: Android 12, 11, 9, 10
- [ ] :iphone: iOS 15.3, 14.8.1, 15.4.1, 15.5, 12.5.5
贡献指南
调研方向
报告指向 dart:io/file_impl.dart、package:file/src/forwarding/forwarding_file_system_entity.dart 和 package:flutter_cache_manager/src/cache_store.dart,尤其是 CacheStore._removeCachedFile。首先跟踪删除调用,并确定缺失路径在 iOS 上是如何产生的;当崩溃条件可以复现,或其处理方式已在所列平台上得到验证时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart, flutter
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100