Closed vanny96 closed 5 years ago
I'm using Ubuntu 20.04 LTS and I have the same probleme, but in my case the extension never worked, so the first time I installed and tried to open my database file Vs Code showed me a pop-up saying: "Failed to open database: Database failed to open: SQLite process failed to start. The argument 'file' cannot be empty. Received.", however I'm sure that my database file has no problem, so probably the issue is in the extension in some linux distros.
Man, try this command in terminal sudo apt install sqlite, it solved the same problem for me
Thank you, this fixes my issue. Also if you are in vscode please restart this.
I'm using Ubuntu 20.04 LTS and I have the same probleme, but in my case the extension never worked, so the first time I installed and tried to open my database file Vs Code showed me a pop-up saying: "Failed to open database: Database failed to open: SQLite process failed to start. The argument 'file' cannot be empty. Received.", however I'm sure that my database file has no problem, so probably the issue is in the extension in some linux distros.
I'm using Ubuntu 22.04.1 LTS that worked for me to THANK YOU!!
Can you do this:
- In the settings set:
"sqlite.logLevel": "DEBUG"
- Open command palette >
SQLite: Open Database
> show table- Open command palette >
SQLite: Show output
- Copy and paste the output here.
This really solved my problem. Guys if other solutions don't work try this one first. Thank you so much!
In my case, I'm using Linux Fedora 64 I tried installing sudo dnf install sqlite3 but it didn't worked. i changed my extension settings and thi hellped me
Open Settings in VS Code, Search for SQLITE. Change Sqlite Log Level to DEBUG. and try it worked. "sqlite.logLevel":"DEBUG" on VsCode JSON Settings
I'm using Ubuntu 20.04 LTS and I have the same probleme, but in my case the extension never worked, so the first time I installed and tried to open my database file Vs Code showed me a pop-up saying: "Failed to open database: Database failed to open: SQLite process failed to start. The argument 'file' cannot be empty. Received.", however I'm sure that my database file has no problem, so probably the issue is in the extension in some linux distros.
Man, try this command in terminal sudo apt install sqlite, it solved the same problem for me
Had the same problem on PopOS - this fixed it for me. Thank you. Maybe it should be added to documentation that some linux distros need to do this.
I'm using Ubuntu on Windows 10 and "sudo apt install sqlite" worked for me. Thanks!
I'm using Ubuntu and what worked for me was "sudo apt install sqlite" and then I had to command pallet (for me: ctr + shift + p) and then I had to search "sqlite" and click "SQLite: Change Workspace Trust"
It always stops me with an error saying: "Failed to open database: Database failed to open: SQLite process failed to start. The argument 'file' cannot be empty. Received."
When I go to see the VSCode "output" window it says "Unable to find a valid SQLite command. Fallback binary is not valid."
It worked fine before, what happened?