commet icon indicating copy to clipboard operation
commet copied to clipboard

SqliteException(5): while executing statement, database is locked, database is locked (code 5)

Open Airyzz opened this issue 10 months ago • 0 comments

E/flutter (32596): package:sqlite3/src/implementation/exception.dart 75                                                  throwException
E/flutter (32596): package:sqlite3/src/implementation/statement.dart 109                                                 StatementImplementation._execute
E/flutter (32596): package:sqlite3/src/implementation/statement.dart 289                                                 StatementImplementation.executeWith
E/flutter (32596): package:sqlite3/src/statement.dart 79                                                                 CommonPreparedStatement.execute
E/flutter (32596): package:drift/src/sqlite3/database.dart 149                                                           Sqlite3Delegate.runWithArgsSync
E/flutter (32596): package:drift/native.dart 384                                                                         _NativeDelegate.runInsert.<fn>
E/flutter (32596): dart:async/future.dart 313                                                                            new Future.sync
E/flutter (32596): package:drift/native.dart 383                                                                         _NativeDelegate.runInsert
E/flutter (32596): package:drift/src/runtime/executor/helpers/engines.dart 105                                           _BaseExecutor.runInsert.<fn>
E/flutter (32596): package:drift/src/runtime/executor/helpers/engines.dart 61                                            _BaseExecutor._synchronized
E/flutter (32596): package:drift/src/runtime/executor/helpers/engines.dart 102                                           _BaseExecutor.runInsert
E/flutter (32596): package:drift/src/remote/server_impl.dart 161                                                         ServerImplementation._runQuery
E/flutter (32596): package:drift/src/remote/server_impl.dart 119                                                         ServerImplementation._handleRequest.<fn>
E/flutter (32596): package:drift/src/remote/communication.dart 165                                                       DriftCommunication.setRequestHandler.<fn>
E/flutter (32596): ===== asynchronous gap ===========================
E/flutter (32596): package:drift/src/remote/communication.dart 113                                                       DriftCommunication.request
E/flutter (32596): package:drift/src/remote/client_impl.dart 101                                                         _BaseExecutor._runRequest

Airyzz avatar Feb 21 '25 11:02 Airyzz