Closed rugk closed 7 months ago
Tried again, still failing:
$ flatpak override --user com.vscodium.codium --show
[Context]
sockets=!x11;fallback-x11;
[Session Bus Policy]
org.freedesktop.Flatpak=none
[Environment]
VSCODE_GALLERY_ITEM_URL=https://marketplace.visualstudio.com/items
FLATPAK_PREFER_USER_PACKAGES=1
FLATPAK_ENABLE_SDK_EXT=node18
VSCODE_GALLERY_SERVICE_URL=https://marketplace.visualstudio.com/_apis/public/gallery
$ flatpak run com.vscodium.codium
codium-wrapper: Evaluating /usr/lib/sdk/node18/enable.sh
codium-wrapper: Setting up NPM packages
codium-wrapper: Setting up Cargo packages
codium-wrapper: Setting up Python packages
codium-wrapper: Setting up Ruby packages
Also for whatever reason, if I remove the SDK .env variable, I also cannot start it, because it still tried to search for the Node14 SDK? I am sorry, but what?
$ flatpak override --user com.vscodium.codium --show
[Context]
sockets=fallback-x11;!x11
[Environment]
VSCODE_GALLERY_ITEM_URL=https://marketplace.visualstudio.com/items
FLATPAK_PREFER_USER_PACKAGES=1
VSCODE_GALLERY_SERVICE_URL=https://marketplace.visualstudio.com/_apis/public/gallery
[Session Bus Policy]
org.freedesktop.Flatpak=none
$ flatpak run com.vscodium.codium
codium-wrapper: Requested SDK extension "nodejs14" is not installed
codium-wrapper: Setting up NPM packages
codium-wrapper: Setting up Cargo packages
codium-wrapper: Setting up Python packages
codium-wrapper: Setting up Ruby packages
Probably unrelated, but could you change filesystem=host to filesystem=home ?
From All System Files to All User Files
Also for whatever reason, if I remove the SDK .env variable, I also cannot start it, because it still tried to search for the Node14 SDK? I am sorry, but what?
$ flatpak override --user com.vscodium.codium --show [Context] sockets=fallback-x11;!x11 [Environment] VSCODE_GALLERY_ITEM_URL=https://marketplace.visualstudio.com/items FLATPAK_PREFER_USER_PACKAGES=1 VSCODE_GALLERY_SERVICE_URL=https://marketplace.visualstudio.com/_apis/public/gallery [Session Bus Policy] org.freedesktop.Flatpak=none $ flatpak run com.vscodium.codium codium-wrapper: Requested SDK extension "nodejs14" is not installed codium-wrapper: Setting up NPM packages codium-wrapper: Setting up Cargo packages codium-wrapper: Setting up Python packages codium-wrapper: Setting up Ruby packages
Hi @rugk, sorry for the delay. Can you try this with the latest com.vscodium.codium 1.84.2
?
flatpak override --user --reset com.vscodium.codium
flatpak override --reset com.vscodium.codium
flatpak override --user --env="FLATPAK_ENABLE_SDK_EXT=node18" com.vscodium.codium
flatpak override --user --env="VSCODE_GALLERY_ITEM_URL=https://marketplace.visualstudio.com/items" com.vscodium.codium
flatpak override --user --env="FLATPAK_PREFER_USER_PACKAGES=1" com.vscodium.codium
flatpak override --user --env="VSCODE_GALLERY_SERVICE_URL=https://marketplace.visualstudio.com/_apis/public/gallery" com.vscodium.codium
flatpak run com.vscodium.codium
Like you, I'm on silverblue 39
Fails (also what is overlay? My flatpak does not know this.)
flatpak overlay --override --user --reset com.vscodium.codium
flatpak overlay --override --reset com.vscodium.codium
error: 'overlay' is not a flatpak command. Did you mean 'override'?
See 'flatpak --help'
error: 'overlay' is not a flatpak command. Did you mean 'override'?
See 'flatpak --help'
~ …
✘1 ➜ flatpak override --user --env="FLATPAK_ENABLE_SDK_EXT=node18" com.vscodium.codium
~ …
➜ flatpak override --user --env="VSCODE_GALLERY_ITEM_URL=https://marketplace.visualstudio.com/items" com.vscodium.codium
flatpak override --user --env="FLATPAK_PREFER_USER_PACKAGES=1" com.vscodium.codium
flatpak override --user --env="VSCODE_GALLERY_SERVICE_URL=https://marketplace.visualstudio.com/_apis/public/gallery" com.vscodium.codium
~ …
➜ flatpak run com.vscodium.codium
codium-wrapper: Evaluating /usr/lib/sdk/node18/enable.sh
codium-wrapper: Setting up NPM packages
codium-wrapper: Setting up Cargo packages
codium-wrapper: Setting up Python packages
codium-wrapper: Setting up Ruby packages
Also it has not changed a lot, has it?
$ flatpak override --user com.vscodium.codium --show
[Context]
sockets=!x11;fallback-x11;
[Session Bus Policy]
org.freedesktop.Flatpak=none
[Environment]
VSCODE_GALLERY_ITEM_URL=https://marketplace.visualstudio.com/items
FLATPAK_PREFER_USER_PACKAGES=1
FLATPAK_ENABLE_SDK_EXT=node18
VSCODE_GALLERY_SERVICE_URL=https://marketplace.visualstudio.com/_apis/public/gallery
Fails (also what is overlay? My flatpak does not know this.)
Sorry, I mean override
And you likely meant it without --override
prefix. But yeah, this has worked:
flatpak override --user --reset com.vscodium.codium
flatpak override --reset com.vscodium.codium
flatpak override --user --env="FLATPAK_ENABLE_SDK_EXT=node18" com.vscodium.codium
flatpak override --user --env="VSCODE_GALLERY_ITEM_URL=https://marketplace.visualstudio.com/items" com.vscodium.codium
flatpak override --user --env="FLATPAK_PREFER_USER_PACKAGES=1" com.vscodium.codium
flatpak override --user --env="VSCODE_GALLERY_SERVICE_URL=https://marketplace.visualstudio.com/_apis/public/gallery" com.vscodium.codium
flatpak run com.vscodium.codium
codium-wrapper: Evaluating /usr/lib/sdk/node18/enable.sh
codium-wrapper: Setting up NPM packages
codium-wrapper: Setting up Cargo packages
codium-wrapper: Setting up Python packages
codium-wrapper: Setting up Ruby packages
(GUI starts afterwards.)
BTW same issue happens with Code - OSS:
$ flatpak run com.visualstudio.code-oss
code-oss-wrapper: Setting up NPM packages
code-oss-wrapper: Setting up Cargo packages
code-oss-wrapper: Setting up Python packages
BTW same issue happens with Code - OSS:
I see the similar problems on other apps when flatpak changes of version, but dunno about the cause and since flatpak override --reset
fix the problem I don't debug this more in depth.
Since your issue was resolved I will close this, If you have another problem don't hesitate and open a new issue
Well I can still reproduce this with one flatpak, so I have opened an upstream issue at https://github.com/flatpak/flatpak/issues/5625 for this now.
STR
I had Node14 SDK extension installed and VSCodium.
Suddenly it sopped working. Without a terminal you see nothing. (IMHO kind of bad UX, but okay.)
With one, you see the error, however:
I assume, this happened, because Node14 uses and outdated SDK or so.
To be exact I seem to have
runtime/org.freedesktop.Sdk.Extension.node14/x86_64/21.08
installed and it is pinned (which is useful), so it could not be removed byflatpak remove --outdated
.So I removed that:
And decided to update my Node version in one step, so installed (using the latest v23.08 whatever that is – freedesktop version probably? – anyway it seems to match what VSCodium uses):
Now adjusted, the env variable via Flatseal (GUI) to
FLATPAK_ENABLE_SDK_EXT=node18
, and tried starting it;Every try starting afterwards, continues to fail with the same error from
[2 zypak-helper]
.System
Previously installed:
Now installed:
OS: Fedora SIlverblue 39