Skip to content
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

Fix/make new cache experimental #693

Closed
wants to merge 3 commits into from

Conversation

matthinc
Copy link
Contributor

Reverts #691 and makes the new caching strategy an experimental setting

@alextran1502
Copy link
Contributor

The problem returns in this implementation. Here is the error log

[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
hronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/86634e..., 86634e1a-2e78-44eb-8502-f30f954fb56d, 5826a0b2-34a8-11ed-8bbb-656727f6b820.bin, 1663213615643, 1663213315718, 14360]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
hronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/1e00db..., 1e00dbbf-7bf1-4362-b234-438a6d618ed1, 5826eed1-34a8-11ed-8bbb-656727f6b820.bin, 1663213615645, 1663213315719, 20492]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
<asynchronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/c2cd8d..., c2cd8ddf-9e22-4709-8382-da3e236e298a, 5826eed2-34a8-11ed-8bbb-656727f6b820.bin, 1663213615645, 1663213315743, 20854]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
<asynchronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/c05696..., c05696e1-5fa1-47a8-8a7a-b244ed3a6b07, 582eb700-34a8-11ed-8bbb-656727f6b820.bin, 1663213615696, 1663213315753, 1888]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
<asynchronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/4d6b89..., 4d6b894a-353e-4c76-8177-03621ba92c53, 582eb701-34a8-11ed-8bbb-656727f6b820.bin, 1663213615696, 1663213315755, 9376]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
<asynchronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/f7b677..., f7b6771e-2bfa-488a-84d4-76275b8115a4, 58295fd0-34a8-11ed-8bbb-656727f6b820.bin, 1663213615661, 1663213315765, 30234]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
<asynchronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/6b4987..., 6b4987bd-33f1-4fe6-b0ec-1b3aeac03197, 582d3060-34a8-11ed-8bbb-656727f6b820.bin, 1663213615686, 1663213315765, 16364]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
<asynchronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/a41c6d..., a41c6de8-d776-4849-840f-fe51937e93c2, 582eb702-34a8-11ed-8bbb-656727f6b820.bin, 1663213615696, 1663213315767, 11402]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
<asynchronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/7466c2..., 7466c2d1-9484-40d0-b807-8c0810ca9468, 5836cd50-34a8-11ed-8bbb-656727f6b820.bin, 1663213615749, 1663213315787, 12564]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
<asynchronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/bca3e7..., bca3e756-9c34-45fe-af4d-1c477358beb9, 58376991-34a8-11ed-8bbb-656727f6b820.bin, 1663213615753, 1663213315788, 11516]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
<asynchronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/68a536..., 68a53667-29a8-4a56-b865-158e5b0c5665, 583790a0-34a8-11ed-8bbb-656727f6b820.bin, 1663213615754, 1663213315790, 16950]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
<asynchronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/8c5e16..., 8c5e169b-4037-4776-af15-2f88c3ffc712, 583a28b0-34a8-11ed-8bbb-656727f6b820.bin, 1663213615771, 1663213315792, 12134]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
[logging-persist] cannot open file at line 46870 of [bc8a7f24e4]
[logging-persist] os_unix.c:46870: (0) open(/private/var/mobile/Containers/Data/Application/B0BCE0B4-2A70-44F9-931D-B3DE34CF354A/Library/Application Support/cache_thumbnail.db-journal) - Undefined error: 0
Unknown error calling sqlite3_step (14: unable to open database file) eu
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
hronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>
Unknown error finalizing or resetting statement (14: unable to open database file)
DB Query: INSERT INTO cacheObject (url, key, relativePath, eTag, validTill, touched, length) VALUES (?, ?, ?, NULL, ?, ?, ?)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: 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 (?, ?, ?, NULL, ?, ?, ?)' args [http://10.1.15.204:2283/api/asset/thumbnail/501324..., 501324cc-d143-401b-81d1-ee5f9090aa72, 583a01a0-34a8-11ed-8bbb-656727f6b820.bin, 1663213615770, 1663213315792, 24838]
#0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
<asynchronous suspension>
#1      SqfliteDatabaseMixin.txnRawInsert.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:392:14)
<asynchronous suspension>
#2      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
<asynchronous suspension>
#3      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
<asynchronous suspension>
#4      CacheObjectProvider.insert (package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart:101:14)
<asynchronous suspension>
#5      CacheStore.putFile (package:flutter_cache_manager/src/cache_store.dart:59:25)
<asynchronous suspension>

@alextran1502
Copy link
Contributor

I think the related to the library flutter_cache_manager which we haven't seen an update since iOS 16.

@matthinc
Copy link
Contributor Author

Closed. Might be revisited in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants