frappe / books

Free Accounting Software
https://frappe.io/books
GNU Affero General Public License v3.0
2.86k stars 660 forks source link

Appimage running in ChromeOS VM #708

Closed innomon closed 1 year ago

innomon commented 1 year ago

Description

ChromeOS , running the AppImage on Linux VM, showed this error.

Steps to Reproduce

just open the Appimage from ChromeOS inside the VM shell.

Info

Error: DatabaseError: SqliteError insert into PatchRun (created, createdBy, failed, modified, modifiedBy, name, version) values ('2023-08-08T04:44:39.482Z', 'SYSTEM', false, '2023-08-08T04:44:39.482Z', 'SYSTEM', 'fixRoundOffAccount', '0.6.3-beta.0') - table PatchRun has no column named failed

Stack:

SqliteError: insert into `PatchRun` (`created`, `createdBy`, `failed`, `modified`, `modifiedBy`, `name`, `version`) values ('2023-08-08T04:44:39.482Z', '__SYSTEM__', false, '2023-08-08T04:44:39.482Z', '__SYSTEM__', 'fixRoundOffAccount', '0.6.3-beta.0') - table PatchRun has no column named failed
    at Database.prepare (/tmp/.mount_FrappeVxugu0/resources/app.asar/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21)
    at Client_BetterSQLite3._query (/tmp/.mount_FrappeVxugu0/resources/app.asar/node_modules/knex/lib/dialects/better-sqlite3/index.js:30:34)
    at executeQuery (/tmp/.mount_FrappeVxugu0/resources/app.asar/node_modules/knex/lib/execution/internal/query-executioner.js:37:17)
    at Client_BetterSQLite3.query (/tmp/.mount_FrappeVxugu0/resources/app.asar/node_modules/knex/lib/client.js:146:12)
    at Runner.query (/tmp/.mount_FrappeVxugu0/resources/app.asar/node_modules/knex/lib/execution/runner.js:123:36)
    at ensureConnectionCallback (/tmp/.mount_FrappeVxugu0/resources/app.asar/node_modules/knex/lib/execution/internal/ensure-connection-callback.js:13:17)
    at Runner.ensureConnection (/tmp/.mount_FrappeVxugu0/resources/app.asar/node_modules/knex/lib/execution/runner.js:300:20)
    at Runner.run (/tmp/.mount_FrappeVxugu0/resources/app.asar/node_modules/knex/lib/execution/runner.js:30:19)
    at DatabaseCore.insert (/tmp/.mount_FrappeVxugu0/backend/database/core.ts:203:7)
    at makeEntry (/tmp/.mount_FrappeVxugu0/backend/database/runPatch.ts:50:3)

Version: 0.17.1 Platform: linux Path: /index.html Language: -