Baseflow / Baseflow/flutter_cache_manager

OS Error: No such file or directory, errno = 2

Aperta
#383 4 commenti 7 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
809
Fork
510
Merge medio
6m
PR unite (30g)
1

Descrizione

## 🐛 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The report points to dart:io/file_impl.dart, package:file/src/forwarding/forwarding_file_system_entity.dart, and package:flutter_cache_manager/src/cache_store.dart, especially CacheStore._removeCachedFile. Start by tracing the delete call and determining how the missing path arises on iOS; done means the crash condition is reproducible or its handling is verified on the listed platforms.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart, flutter
Ambito
mobile
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.