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

jupyter.jupyterServerType config value not respected in user or remote config files. #9686

Closed
2 tasks
apockoffork opened this issue Apr 14, 2022 · 3 comments
Closed
2 tasks
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-remote Applies to remote Jupyter Servers

Comments

@apockoffork
Copy link

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

I added "jupyter.jupyterServerType": "remote", to my user and/or my remote config file (I'm using a remote ssh setup). When I then start a jupyter notebook I need to still configure it to use a remote kernel. When I do configure it to a remote kernel it updates the workspace config file to contain "jupyter.jupyterServerType": "remote",.

I believe the correct behavior is to use the server type config in the user or remote configuration file first or to not add the config to the workspace file if the configuration value is present in the user/remote config files.

VS Code Version

Version: 1.66.2 (Universal) Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977 Date: 2022-04-11T07:49:20.994Z (3 days ago) Electron: 17.2.0 Chromium: 98.0.4758.109 Node.js: 16.13.0 V8: 9.8.177.11-electron.0 OS: Darwin x64 21.4.0

Jupyter Extension Version

v2022.3.1000901801

Jupyter logs

No response

Coding Language and Runtime Version

No response

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Remote

@apockoffork apockoffork added bug Issue identified by VS Code Team member as probable bug needs-triage labels Apr 14, 2022
@IanMatthewHuff
Copy link
Member

@apockoffork Thanks for the report here. You are correct that setting is being handled a bit different from other vscode settings. Currently when set to remote it is tied to an encrypted storage for the actual URI. This creates some funny expectations regarding what happens if the setting is manually set to remote or settings sync.

@IanMatthewHuff IanMatthewHuff removed their assignment Apr 14, 2022
@greazer greazer added notebook-remote Applies to remote Jupyter Servers and removed needs-triage labels Apr 14, 2022
@greazer
Copy link
Member

greazer commented Apr 14, 2022

This particular setting is confusing and probably isn't needed to be user-settable. Changes down the line in our remote story will also likely obviate the need. #9684.

@DonJayamanne
Copy link
Contributor

Closing this issue as such a setting no longer exists in the extension

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug notebook-remote Applies to remote Jupyter Servers
Projects
None yet
Development

No branches or pull requests

4 participants