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

In-app installation of extensions does not work #28

Open
arnoldas500 opened this issue Aug 18, 2022 · 4 comments
Open

In-app installation of extensions does not work #28

arnoldas500 opened this issue Aug 18, 2022 · 4 comments

Comments

@arnoldas500
Copy link

Will this ever get fixed?

@johrstrom
Copy link
Contributor

OSC does get some issues around plugins, but for the most part they do work for us.

My guess it's a library issue when you go to build the plugin. I actually have that installed and it just started working for me.

But you can see here where my python is - 3.7 out of the module system, not the system default that's 2.7. I have this loaded in my ~/.bashrc so vscode recognzied it and just worked. Removed that line from my bashrc and everything seems frozen.
image

This repo is our (the ohio super computer center's) so we load our modules. You likely have a fork and likely need to add python if you want this to work across the board for a lot of people (though I don't know how that'd interact for a user like me who loads modules in my ~/.bashrc).

module load project/ondemand git app_code_server/<%= context.version %>

Hope that helps!

@arnoldas500
Copy link
Author

So the issue I am having is I cant get jupyter installed in VS Code server running on Open OnDemand.

I have tried in the public marketplace but this error is thrown: Failed to install 'ms-toolsai.jupyter'.

so I downloaded it from https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter but now I am getting the error:
~/vsix$ code-server --install-extension ms-toolsai.jupyter-2022.8.1002321033.vsix
Installing extensions...
Unable to install extension 'ms-toolsai.jupyter' as it is not compatible with VS Code '1.41.1'.
error undefined

I have tried finding in the version history for a compatible version with VS Code '1.41.1'. but I cant seem to find a compatibility list anywhere. Only thing useful was: microsoft/vscode-jupyter#5582 but it still doesnt have a compatibility list between code server and which jupyter extension version to use.

Not sure if I should try updating code server or will I run into a bunch of issues.

I should also mention this was installed with deepops and the version they default to is version: gtc

@johrstrom
Copy link
Contributor

I hate to say it works for me and leave it, but it kinda does work for me. Here's the information on versions that we run.

ms-toolsai.jupyter plugin verion: v2021.3.0

code server versions:

code-server: v3.9.3
VS Code: v1.54.2
Commit: fe2dc2deb08e378069891b622bb62ad1d261d1b1
Date: 2021-04-08T18:29:22Z (1 yr ago)

There could/should be errors in a logfile somewhere.

All that said - I have had to build and provide a Ruby extension because the one provided on the market place was built wrong. So I built the .vsix file myself and installed it (there's an option in the extension dropdown menu to install from a .VSIX file). So that could be a route worth exploring.

@arnoldas500
Copy link
Author

I have tried to update code server without luck, submitted issue under deepops repo:
NVIDIA/deepops#1213

What would be the proper way to update while still using deepops?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants