Open r-this opened 1 year ago
Same here. Ubuntu 20.04, VSCode 1.74.2
Not much in the way of error output.
Same on MacOS 12.5.1, VSCode 1.74.2
Same on latest fedora , VSCode 1.74.2
Same here. Fedora 37.
Same here, github codespaces with VS 1.76.2, postgresql extension v 0.3.0
Same here on Arch linux (btw)
Same here on MacOS 13.3.1
same here on wsl2 Ubuntu 20.04
I fixed it by installing libffi-so-6
as per https://stackoverflow.com/a/63329830
and also installing psycopg2-binary
in a scope where VSCode had access to it.
im on bullseye..
Same issue, Windows 11, Docker Ubuntu:22.04 (WSL2) VS Code 1.78.0 PostgreSQL v0.3.0
Facing the same issue on Windows 11, WSL2, and Ubuntu 22.04
same issue, macos 13.4.1, vscode 1.79.2, extension v0.3.0
Same here on Windows 10, WSL2, and Ubuntu 22.04
same issue, macos 12.6.1, vscode 1.81.1, extension 0.3.0
same issue, Ubuntu 22.04.3 LTS, vscode 1.81.1
@akamath46297
The same. macOS 12.6.8, VS Code 1.81.1, extension 0.3.0.
The same, macOS 13.5.1, VS Code 1.82.1, extension 0.3.0
the same ubuntu 22.04 lts, vscode 1.83.0
also on: macOS 14.0 arm64; VSCode 1.83.1; PostgreSQL Extension 0.3.0
2023-10-12 19:00:06.945 [error] Activating extension ms-ossdata.vscode-postgresql failed due to an error:
2023-10-12 19:00:06.945 [error] TypeError: Cannot read properties of undefined (reading 'toString')
at ServiceDownloadProvider.getDownloadFileName (/Users/dev/.vscode/extensions/ms-ossdata.vscode-postgresql-0.3.0/out/src/languageservice/serviceDownloadProvider.js:31:47)
at /Users/dev/.vscode/extensions/ms-ossdata.vscode-postgresql-0.3.0/out/src/languageservice/serviceDownloadProvider.js:86:35
at new Promise (<anonymous>)
at ServiceDownloadProvider.installSQLToolsService (/Users/dev/.vscode/extensions/ms-ossdata.vscode-postgresql-0.3.0/out/src/languageservice/serviceDownloadProvider.js:85:16)
at /Users/dev/.vscode/extensions/ms-ossdata.vscode-postgresql-0.3.0/out/src/languageservice/server.js:78:43
at new Promise (<anonymous>)
at ServerProvider.downloadServerFiles (/Users/dev/.vscode/extensions/ms-ossdata.vscode-postgresql-0.3.0/out/src/languageservice/server.js:76:16)
The most straightforward solution to address this problem is to utilize a VSCode devcontainer with the following configuration:
FROM mcr.microsoft.com/devcontainers/base:bionic
Once set up this way, there's no requirement to separately install libffi or psycopg2-binary.
I also experimented with bullseye and focal images, but unfortunately, they didn't work.
Same issue for me. Maybe the official way to use the extension should be to use the container :)
Same here: VS Code version 1.88, Ubuntu 22.04.4 LTS 64-bit Intel
Facing the same issue. VSCode 1.88.1 Ubuntu 22.04.3 on WSL2 / Windows 11
Seriously, how come they cannot fix this
Seriously, how come they cannot fix this
This extension is abandonware, last update is from 4/16/2020
sounds like i should uninstall this and move on. what is another extension that works?
Steps to Reproduce:
Error happens right away first time trying to execute a command from command palette. After reload, it will happen once more. No output in OUTPUT: PGSQL
Output for SqlToolService Initialization
I found a closed issue that seems related. It was unsolved. Is it the case that the dependencies for this package are incompatible with the WSL version of Ubuntu?
I'd be interested if anyone knows a workaround, otherwise I'll try a different extension or continue to use browser tools.
Thanks!