这是indexloc提供的服务,不要输入任何密码
Skip to content

[BUG REPORT] when trying to remove a sub account  #146

@ezewer

Description

@ezewer

An error occurred

WORKER:ERROR [2022-05-04T03:03:38.843Z]     database is locked    
  - METHOD_NAME: updateSubAccount    
  - STATUS_CODE: 500    
  - STATUS_MESSAGE: Internal Server Error        
  - STACK_TRACE SqliteError: database is locked
    at _runStm (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/action-update-record-of.js:13:11)
    at /home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/action-update-record-of.js:66:12
    at sqliteTransaction (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/node_modules/better-sqlite3/lib/methods/transaction.js:65:24)
    at Object.module.exports [as UPDATE_RECORD_OF] (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/action-update-record-of.js:69:10)
    at module.exports (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/index.js:18:31)
    at MessagePort.<anonymous> (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/node_modules/bfx-facs-db-better-sqlite/worker/worker-factory.js:61:22)

Debug info
Version 3.7.1
Commit Hash 6e2c58d
Commit Date 2022-05-03T01:43:11Z
Electron 13.6.9
Chrome 91.0.4472.164
Node.js 14.16.0
V8 9.1.269.40-electron.0
OS version Ubuntu SMP Fri Apr 8 09:10:54 UTC 2022
OS release Linux x64 5.4.0-109-generic
CPUs Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz x 8
RAM 15.52GB (0.78GB free)
App RAM limit 4095.75Mb (9.41MB used)
Main log
[2022-05-04 13:03:38.847] [error] WORKER:ERROR [2022
  - METHOD_NAME: updateSubAccount    
  - STATUS_CODE: 500    
  - STATUS_MESSAGE: Internal Server Error        
  - STACK_TRACE SqliteError: database is locked
    at _runStm (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/action-update-record-of.js:13:11)
    at /home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/action-update-record-of.js:66:12
    at sqliteTransaction (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/node_modules/better-sqlite3/lib/methods/transaction.js:65:24)
    at Object.module.exports [as UPDATE_RECORD_OF] (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/action-update-record-of.js:69:10)
    at module.exports (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/index.js:18:31)
    at MessagePort.<anonymous> (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/node_modules/bfx-facs-db-better-sqlite/worker/worker-factory.js:61:22)
Worker errors
  - STACK_TRACE SqliteError: database is lo
    at _runStm (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/action-update-record-of.js:13:11)
    at /home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/action-update-record-of.js:66:12
    at sqliteTransaction (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/node_modules/better-sqlite3/lib/methods/transaction.js:65:24)
    at Object.module.exports [as UPDATE_RECORD_OF] (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/action-update-record-of.js:69:10)
    at module.exports (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/workers/loc.api/sync/dao/sqlite-worker/db-worker-actions/index.js:18:31)
    at MessagePort.<anonymous> (/home/ezequiel/Documents/report/BitfinexReport-3.7.1-x64-linux/resources/app/bfx-reports-framework/node_modules/bfx-facs-db-better-sqlite/worker/worker-factory.js:61:22)
    at MessagePort.[nodejs.internal.kHybridDispatch] (internal/event_target.js:354:41)
    at MessagePort.exports.emitMessage (internal/per_context/messageport.js:18:26)
Worker exceptions
    at /home/ezequiel/Documents/report/BitfinexReport-3.5.0-x64-linux/re
    at /home/ezequiel/Documents/report/BitfinexReport-3.5.0-x64-linux/resources/app/bfx-reports-framework/node_modules/async/dist/async.js:2953:17
    at /home/ezequiel/Documents/report/BitfinexReport-3.5.0-x64-linux/resources/app/bfx-reports-framework/node_modules/async/dist/async.js:2955:19
    at wrapper (/home/ezequiel/Documents/report/BitfinexReport-3.5.0-x64-linux/resources/app/bfx-reports-framework/node_modules/async/dist/async.js:268:20)
    at replenish (/home/ezequiel/Documents/report/BitfinexReport-3.5.0-x64-linux/resources/app/bfx-reports-framework/node_modules/async/dist/async.js:435:29)
    at iterateeCallback (/home/ezequiel/Documents/report/BitfinexReport-3.5.0-x64-linux/resources/app/bfx-reports-framework/node_modules/async/dist/async.js:424:21)
    at /home/ezequiel/Documents/report/BitfinexReport-3.5.0-x64-linux/resources/app/bfx-reports-framework/node_modules/async/dist/async.js:321:20
    at /home/ezequiel/Documents/report/BitfinexReport-3.5.0-x64-linux/resources/app/bfx-reports-framework/node_modules/async/dist/async.js:2953:17
    at /home/ezequiel/Documents/report/BitfinexReport-3.5.0-x64-linux/resources/app/bfx-reports-framework/node_modules/async/dist/async.js:2955:19
    at wrapper (/home/ezequiel/Documents/report/BitfinexReport-3.5.0-x64-linux/resources/app/bfx-reports-framework/node_modules/async/dist/async.js:268:20)

The issue was opened from the electron app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions