Baseflow / Baseflow/flutter_cache_manager
OS Error: No such file or directory, errno = 2
- Langage dominant
- Dart
- Étoiles
- 809
- Forks
- 510
- Merge moyen
- 6 min
- PR mergées (30 j)
- 1
Description
## 🐛 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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Le rapport pointe vers dart:io/file_impl.dart, package:file/src/forwarding/forwarding_file_system_entity.dart et package:flutter_cache_manager/src/cache_store.dart, en particulier CacheStore._removeCachedFile. Commencez par suivre l’appel de suppression et déterminer comment le chemin manquant apparaît sur iOS ; le travail est terminé lorsque la condition du crash est reproductible ou que sa gestion est vérifiée sur les plateformes indiquées.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- dart, flutter
- Domaine
- mobile
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 30/100