Baseflow / Baseflow/flutter_cache_manager

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

Offen
#383 4 Kommentare 7 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Dart
Sterne
809
Forks
510
Ø Merge
6 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
dart, flutter
Bereich
mobile
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.