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

error trying to open db from linux on windows #1096

Open
dogmatic69 opened this issue Jan 18, 2025 · 1 comment
Open

error trying to open db from linux on windows #1096

dogmatic69 opened this issue Jan 18, 2025 · 1 comment

Comments

@dogmatic69
Copy link

Description

Opening a db from a previous linux install on a windows machine, possibly an older version. On selecting the database file I was presented with error popup and then the app died / closed.

Second time I tried to open it, seems to have worked without any error 🤷🏻 ..

Info

Error: DatabaseError: Error
FOREIGN KEY constraint failed

Stack:

Error: FOREIGN KEY constraint failed
    at client.transaction.connection (C:\Users\xxx\AppData\Local\Programs\Frappe Books\resources\app.asar\node_modules\knex\lib\execution\runner.js:254:23)

Version: 0.26.1
Platform: win32
Path: /index.html
Language: -

@akshayitzme
Copy link
Collaborator

Hi @dogmatic69,
I couldn't replicate the issue with the provided details. Is it affecting the usability of the latest version ?.

The reason being the UI didn't load the first time maybe because of the patches being run in the background.

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

No branches or pull requests

2 participants