-
Notifications
You must be signed in to change notification settings - Fork 92
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
[BUG] VS Code extensions are not installing #1350
Comments
I think this can be achived by seting |
|
This directory does not exist: |
Hi, @kcpevey I will open a PR to try adding the env and creating the directory... were you able to test the environment in your namespace? |
As far as I can tell, there is no way for me to access setting an env var in the shell where vscode is launched. I don't have permissions to edit I can set an env var in a terminal, but that won't be the context from which vs code is launched. Is there some other way to get into the context from which its launched? Actually, I don't even know where its launched from... |
Ok, so the issue is that the current way we are installing the vscode server into qhub, uses a post-build installation process during build on conda-forge (which is responsible for setting the installation path to be the same path as conda shared dir). This will need to be moved to a future release as a proper fix will require us to re-think the installation process for the server and drop the conda package for more granularity control |
Is there a workaround? This is a huge issue if users can't use vscode (the python extension isn't installed so we can't use the IDE to run/debug python) |
|
The default location for linux is supposed to be we might want to explicitely set both of the following:
|
We can't pass the |
We can roll back to how it was implemented before as a quick shortcut (at least we know that it worked) |
Agreed - to rollback to the previous implementation @viniciusdc and @costrouc please work on this |
Just met with @costrouc, I will soon submit a PR to fix this. |
@viniciusdc can we also open an issue on the conda-forge feedstock about this to start a discussion assuming long term we want to use the conda-package. |
Hi, @dharhas I've done that already (see here), but I think that will take a while to get answered, I talked a bit with Chris this afternoon and we found a way to overlook that setting. For now, we will switch back to how we used to install code-server |
OS system and architecture in which you are running QHub
GCP
Expected behavior
Actual behavior
How to Reproduce the problem?
Command output
/opt/conda/envs/default/share/code-server/extensions
doesn't exist./opt/conda/envs/default/share/code-server/
exists, but my user doesn't have permission to create a new folder hererThe text was updated successfully, but these errors were encountered: