-
-
Notifications
You must be signed in to change notification settings - Fork 672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"DatabaseException(attempt to write a readonly database" #782
Comments
no one replies to this |
I got the same error for image "attempt to write a readonly database (code 1032 SQLITE_READONLY_DBMOVED)" Here is the log of itDatabaseException(attempt to write a readonly database (code 1032 SQLITE_READONLY_DBMOVED)) sql 'INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, ?, ?, ?, ?)' args [https://kamai.app:4000/images/gps/d/5e68892e6d3b38..., https://kamai.app:4000/images/gps/d/5e68892e6d3b38..., dc7ea5a0-a14b-11ed-929f-7dc4c0d24ad2.png, W/"1b5f0-17d0ae2f9b8", 1675763071226, 1675158272292, 112112] W/MediaCodec(24675): mapFormat: no mediaType information |
any update? |
any update guys? |
any progress? |
any update guys? |
any workaround? |
🐛 Bug Report
When Im trying to login after immediate logout, few images are not loading and it shows this exception in the logs.
DatabaseException(attempt to write a readonly database (code 1032 SQLITE_READONLY_DBMOVED)) sql 'DELETE FROM cacheObject WHERE _id = ?' args [13] I/flutter (16798): #0 wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7) I/flutter (16798): <asynchronous suspension> I/flutter (16798): #1 SqfliteDatabaseMixin.txnRawUpdate.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:418:22) I/flutter (16798): <asynchronous suspension> I/flutter (16798): #2 BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16) I/flutter (16798): <asynchronous suspension> I/flutter (16798): #3 SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14) I/flutter (16798): <asynchronous suspension> I/flutter (16798): #4 CacheStore.retrieveCacheData.<anonymous closure> (package:flutter_cache_manager/src/cache_store.dart:79:11) I/flutter (16798): <asynchronous suspension>
Expected behavior
Images should load. It does work when app is uninstalled and installed again.
Reproduction steps
Configuration
Version: 1.x
Platform:
The text was updated successfully, but these errors were encountered: