When starting a new notebook, this extension has the port number hardcoded to 8888 in vscodeJupyter/package.json. If there are other processes using the port, the extension fails to connect to the new notebook.
Environment data
VS Code version: 1.19.1
Jupyter Extension version: 1.1.4
OS and version: Mac OS 10.12.6
Actual behavior
Nothing happens for a few seconds, then the error message Failed to detect Jupyter Notebook. Please use 'Select Jupyter Notebook' command appears. The new notebook does however appear in the list of existing notebooks, and can be connected to manually (though this interferes with the other process listening on the same port).
Expected behavior
A new notebook is started on an unoccupied port, and the extension successfully connects to the kernel without intervention.
Steps to reproduce:
Have some unrelated process listening on port 8888
Open VS Code and run "Jupyter: Start a new Jupyter Notebook"
When starting a new notebook, this extension has the port number hardcoded to 8888 in
vscodeJupyter/package.json
. If there are other processes using the port, the extension fails to connect to the new notebook.Environment data
VS Code version: 1.19.1 Jupyter Extension version: 1.1.4 OS and version: Mac OS 10.12.6
Actual behavior
Nothing happens for a few seconds, then the error message
Failed to detect Jupyter Notebook. Please use 'Select Jupyter Notebook' command
appears. The new notebook does however appear in the list of existing notebooks, and can be connected to manually (though this interferes with the other process listening on the same port).Expected behavior
A new notebook is started on an unoccupied port, and the extension successfully connects to the kernel without intervention.
Steps to reproduce: