-
Notifications
You must be signed in to change notification settings - Fork 27
Extension syntax error #251
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
Comments
I have the same issue |
Currently having the same issue, I'm on Mac (Silicon) and can't open any .sqlite file despite being able to open them in other apps or extensions. I get the exact error about parson in line 4 |
Same issue - VSCode version is: |
same here |
Same here on Arch Linux. Tried changing the
(which was: but it didn't fix the issue. |
Same error. Has to do with double-quoted literal strings. These are supposed to be single-quoted (I think v3.4 and newer). See here for a fix: #241 As an aside, does anybody have a recommendation for a similar extension that is being currently maintained? |
Terminal window:
PS C:\DevOps\Python\Learning\Databases> sqlite3
SQLite version 3.46.1 2024-08-13 09:16:08 (UTF-16 console I/O)
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .open test.db
sqlite> CREATE TABLE investments (coin_id TEXT, currency TEXT, anount REAL);
sqlite> .tables
investments
sqlite> .headers on
sqlite> .mode column
sqlite> pragma table_info('investments');
cid name type notnull dflt_value pk
0 coin_id TEXT 0 0
1 currency TEXT 0 0
2 anount REAL 0 0
sqlite> INSERT INTO investments VALUES ('bitcoin', 1.0, 'usd');
sqlite> SELECT * FROM investments;
coin_id currency anount
bitcoin 1.0 usd
sqlite> .exit
PS C:\DevOps\Python\Learning\Databases>
This is a new DB.
When clicking open database this is the error:
"
[9:58:20 AM][vscode-sqlite][INFO] Activating extension vscode-sqlite v0.14.1...
[9:58:20 AM][vscode-sqlite][INFO] Extension activated.
[10:03:05 AM][vscode-sqlite][ERROR] Failed to open database 'c:\DevOps\Python\Learning\Databases\test.db': Parse error near line 4: no such column: "table" - should this be a string literal in single-quotes?
aster WHERE (type="table" OR type="view")
error here ---^
"
The text was updated successfully, but these errors were encountered: