question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Changing Jupyter server connection requires a workspace-based session

See original GitHub issue

Follow up to microsoft/vscode-python#12340, which was already closed meanwhile:

I noticed that the command “Specify local or remote Jupyter server for connections” doesn’t allow to enter a new connection: Enter is just ignored. Selecting previous servers doesn’t work either. I had to go through settings to change this config in python.dataScience.jupyterServerURI. The issue only occurs when I don’t have a workspace session opened.

@greazer answered in https://github.com/microsoft/vscode-python/issues/12340#issuecomment-644396380:

We don’t think it’s appropriate for us to set a global setting to deal with this.

I don’t really agree. If there is such a global configuration setting, why not allow editing it via the obvious command to change it? To be sure about the user’s intention, you could use a confirmation question. My key point is, that the warning notification was displayed at the other end of the screen and I didn’t notice it at all. This lead to confusion and frustration, because vscode didn’t react as expected. Please re-consider to change the behaviour here. Also, most other settings are applied globally as well if no workspace is available, aren’t they?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DonJayamannecommented, Aug 15, 2022

Re-assigning to Ian as this deals with the entire workflow of kernel selection UI, remote to local, etc. I believe this will all go away with the new UX that’s being worked on.

0reactions
DonJayamannecommented, Dec 6, 2022

Closing this issue as resolved, we have a new kernel picker and remote kernel connection workflow that will be released in the next relaees (some time today /next day or so) and will be documented in the relase notes

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changing Jupyter server connection requires a workspace ...
I had to go through settings to change this config. This issue seems to be related to the fact that I didn't have...
Read more >
Running a notebook server
This document describes how you can run a public server with a single user. This should only be done by someone who wants...
Read more >
DataSpell - Manage Jupyter notebook servers - JetBrains
Click the Add Jupyter Connection icon on the toolbar of the Workspace tool window to establish a connection to a Jupyter server.
Read more >
Working with Jupyter Notebooks in Visual Studio Code
Work with Jupyter code cells; View, inspect, and filter variables using the Variable Explorer and Data Viewer; Connect to a remote Jupyter server;...
Read more >
Connecting to a Remote Jupyter Notebook Server Running on ...
If you want to change the remote Jupyter kernel URL, you either need to quit VS Code, restart it, and go through the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found