Baseflow / Baseflow/flutter_cache_manager

DatabaseException

Ouverte
#343 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Dart
Étoiles
809
Forks
510
Merge moyen
6 min
PR mergées (30 j)
1

Description

## 🐛 Bug Report
Call the DefaultCacheManager().emptyCache() method to report an error

err:DatabaseException(attempt to write a readonly database - SQLITE_READONLY_DBMOVED (Sqlite code 1032), (OS error - 2:No such file or directory)) sql 'DELETE FROM cacheObject WHERE _id IN (1)' args []

### Expected behavior

### Reproduction steps

### Configuration

**Version:cached_network_image: ^3.1.0 flutter_cache_manager: ^3.1.2

**Platform:**
- [ ] :iphone: iOS
- [*] :robot: Android

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start with DefaultCacheManager().emptyCache() on Android using cached_network_image 3.1.0 and flutter_cache_manager 3.1.2, then trace the SQLite DELETE that reports SQLITE_READONLY_DBMOVED. The issue provides no reproduction steps or named files/tests; done means identifying the cause and confirming that emptyCache() works without the DatabaseException.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
dart, flutter, sqlite
Domaine
databases, mobile-dev
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.