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

Crash with Uncaught Exception: Error: SQLITE_CANTOPEN: unable to open database file #4032

Closed
cajhne opened this issue Jan 19, 2023 · 3 comments · Fixed by #4033
Closed

Crash with Uncaught Exception: Error: SQLITE_CANTOPEN: unable to open database file #4032

cajhne opened this issue Jan 19, 2023 · 3 comments · Fixed by #4033
Labels
bug Something isn't working

Comments

@cajhne
Copy link

cajhne commented Jan 19, 2023

Description

Tried both 5.0 .deb and appimage, both produce this same error and refuse to run when launched. (Ubuntu Linux 22.04)

How To Reproduce

  1. Launch 5.0 alpha 3 from either installed .deb or appimage
  2. Crashes immediately without showing any UI.

Full Error:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: SQLITE_CANTOPEN: unable to open database file

Your Environment

  • OS: Ubuntu 22.04
  • Whalebird Version: 5.0.0 Alpha 3
@cajhne cajhne added the bug Something isn't working label Jan 19, 2023
@h3poteto
Copy link
Owner

Thank you for trying the alpha version. Could you please show me your ~/.config/Whalebird directory?

$ ls -lha ~/.config/Whalebird

@cajhne
Copy link
Author

cajhne commented Jan 21, 2023

Sure:

total 16K
drwx------ 4 crogers crogers 4.0K Jan 20 00:47 .
drwx------ 82 crogers crogers 4.0K Jan 21 04:35 ..
drwx------ 2 crogers crogers 4.0K Jan 19 22:03 Crashpad
drwx------ 2 crogers crogers 4.0K Jan 19 22:03 logs

@h3poteto
Copy link
Owner

Ah, I got it.
I can reproduce it:

$ whalebird
A JavaScript error occurred in the main process
Uncaught Exception:
Error: SQLITE_CANTOPEN: unable to open database file

h3poteto added a commit that referenced this issue Jan 21, 2023
refs #4032 Create db directory if does not exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants