frappe / books

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

Unable to open database.. last time i used it with Ubuntu OS and now trying to open in Windows OS #760

Closed Sunitsarode closed 7 months ago

Sunitsarode commented 8 months ago

Description

Add some description...

Steps to Reproduce

Add steps to reproduce the error...

Info

Error: DatabaseError: SqliteError update SingleValue set value = 12, modifiedBy = 'SYSTEM', modified = '2023-10-23T21:38:22.148Z' where parent = 'Misc' and fieldname = 'openCount' - unable to open database file

Stack:


SqliteError: update `SingleValue` set `value` = 12, `modifiedBy` = '__SYSTEM__', `modified` = '2023-10-23T21:38:22.148Z' where `parent` = 'Misc' and `fieldname` = 'openCount' - unable to open database file
    at Client_BetterSQLite3._query (C:\Users\hjssu\AppData\Local\Programs\Frappe Books\resources\app.asar\node_modules\knex\lib\dialects\better-sqlite3\index.js:39:38)
    at executeQuery (C:\Users\hjssu\AppData\Local\Programs\Frappe Books\resources\app.asar\node_modules\knex\lib\execution\internal\query-executioner.js:37:17)
    at Client_BetterSQLite3.query (C:\Users\hjssu\AppData\Local\Programs\Frappe Books\resources\app.asar\node_modules\knex\lib\client.js:146:12)
    at Runner.query (C:\Users\hjssu\AppData\Local\Programs\Frappe Books\resources\app.asar\node_modules\knex\lib\execution\runner.js:123:36)
    at ensureConnectionCallback (C:\Users\hjssu\AppData\Local\Programs\Frappe Books\resources\app.asar\node_modules\knex\lib\execution\internal\ensure-connection-callback.js:13:17)
    at Runner.ensureConnection (C:\Users\hjssu\AppData\Local\Programs\Frappe Books\resources\app.asar\node_modules\knex\lib\execution\runner.js:300:20)
    at Runner.run (C:\Users\hjssu\AppData\Local\Programs\Frappe Books\resources\app.asar\node_modules\knex\lib\execution\runner.js:30:19)
    at DatabaseCore.