flutter_cached_network_image icon indicating copy to clipboard operation
flutter_cached_network_image copied to clipboard

Database Exception (unable to open database file)

Open burakJs opened this issue 1 year ago • 3 comments

🐛 Bug Report

I saw this crash in Firebase Crashlytics. I need clarification on what this error is

DatabaseException(Error Domain=FMDatabase Code=14 "unable to open database file" UserInfo={NSLocalizedDescription=unable to open database file}) sql 'INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, ?, ?, ?, ?)' args [https://images.x.com/y/z, https://images.x.com/y/z, e105bc80-299d-10e7-b9ba-155eec7740b8.octet-stream, "62721a0acb1559fee9f36afc19dd18d8", 1724274411878, 1723669612006, 728105]

Expected behavior

Reproduction steps

Configuration

Version: 3.3.0

Platform:

  • [X] :iphone: iOS
  • [ ] :robot: Android

burakJs avatar Aug 15 '24 09:08 burakJs

I also made this mistake on ios

zhuwei avatar Nov 13 '24 01:11 zhuwei

_"DatabaseException(Error Domain=SqfliteDarwinDatabase Code=14 "unable to open database file" UserInfo={NSLocalizedDescription=unable to open database file}) sql 'UPDATE cacheObject SET url = ?, "key" = ?, relativePath = ?, eTag = ?, validTill = ?, touched = ?, length = ?, _id = ? WHERE _id = ?' args [https://eshop-img.xgd.com/partner/baseUserALIImage..., https://eshop-img.xgd.com/partner/baseUserALIImage..., badc3330-7016-11f0-bba4-4b9dd9123e0f.jpg, "5F5F0ED4FAF18274335EB6B84E84BEBE", 1754795137507, 1754707816783, 72140, 257, 257], stackTrace:#0 wrapDatabaseException (package:sqflite_platform_interface/src/platform_exception.dart:12) #1 SqfliteDatabaseMixinExt.txnRawUpdateOrDelete. (package:sqflite_common/src/database_mixin.dart:318) #2 BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33) #3 SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:517) "

I've also encountered this problem. May I ask if there are any solutions?

ZephHe avatar Aug 14 '25 08:08 ZephHe

Any luck with this issue ?

esentis avatar Nov 11 '25 13:11 esentis