Baseflow / Baseflow/flutter_cache_manager
DatabaseException
- Lenguaje dominante
- Dart
- Estrellas
- 809
- Forks
- 510
- Merge medio
- 6 min
- PR fusionados (30 d)
- 1
Descripción
## 🐛 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
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- dart, flutter, sqlite
- Área
- databases, mobile-dev
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100