Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Failed to Detect Jupyter Notebook created in non-default startupFolder #46

Closed
DonJayamanne opened this issue May 5, 2017 · 5 comments
Closed

Comments

@DonJayamanne
Copy link
Owner

From @edward-agarwala on May 4, 2017 20:59

Environment data

VS Code version: 1.12.0
Python Extension version: Python 0.6.4 and Jupyter 1.1.2
Python Version: 3.6
OS and version: Mac OS 10.11.6

Actual behavior

Failed to detect Jupyter Notebook. Please use 'Select Jupyter Notebook' command
When running a cell and choosing to start up a new notebook given default startup folder, jupyter.notebook.startupFolder, has changed.

Expected behavior

Correctly detect the notebook created.

Steps to reproduce:

  • Set, "jupyter.notebook.startupFolder": "${workspaceRoot}/folder1/folder2"
  • Try to run a python cell
  • Choose start a new notebook

Workaround

The jupyter notebook is successfully created in the correct folder. After getting the error, choose to connect to a local notebook. The cells then run correctly.

Settings

Your launch.json (if dealing with debugger issues):

Your settings.json:

User
{    
    "python.jupyter.defaultKernel": "localhost:8888",
}
Workspace
{
    "jupyter.notebook.startupFolder": "${workspaceRoot}/folder1/folder2"
}

Logs

Output from Python output panel

Failed to detect Jupyter Notebook. Please use 'Select Jupyter Notebook' command

Output from Console window (Help->Developer Tools menu)

Copied from original issue: DonJayamanne/pythonVSCode#934

@DonJayamanne
Copy link
Owner Author

What version of Jupyter (the package, not the extension) do you have installed?
Are you using anaconda?

@DonJayamanne
Copy link
Owner Author

New version will be published within the next hour (version 1.1.3). Please retest.

@edward-agarwala
Copy link

👍
Fixes it for me!

@DonJayamanne
Copy link
Owner Author

Yay

@puppyapple
Copy link

I have this problem again....

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

No branches or pull requests

3 participants