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.

Start page > open sample notebook is broken

See original GitHub issue

On WIP/NoDS in vscode-python we are still executing python.datascience.opennotebook to open the sample notebook, which of course has been renamed to jupyter.opennotebook. Two ideas to solve this:

  1. Update it to execute jupyter.opennotebook, problem is if Jupyter extension is not installed this would be a noop. Solution to that would be to display a prompt at this juncture telling the user that they need the Jupyter extension to open the sample notebook.
  2. Instead of the Python extension directly executing the command, add an extensibility point to the API. However we would still need to check for whether the jupyter extension is installed at this juncture I believe.

Other approaches/suggestions/thoughts here? @DonJayamanne @rchiodo @ianmatthewhuff @davidkutu

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
DonJayamannecommented, Oct 2, 2020

Another possible idea:

  • We just ship Jupyter as a dependency of Python extension.
2reactions
rchiodocommented, Oct 2, 2020

Another possible idea:

  • Keep the command. Command handler checks for jupyter extension. If there, runs the other command, if not, asks user to install it.
Read more comments on GitHub >

github_iconTop Results From Across the Web

first-time run of jupyter notebooks is broken (opening ipynb is ...
I am facing the same issue. My notebook doesn't open but it does remain blank. It is unstable as it occurs around 50%...
Read more >
What to do when things go wrong - The Jupyter Notebook
If you're using a menu shortcut or Anaconda launcher to start it, try opening a terminal or command prompt and running the command...
Read more >
How to fix Kernel Error or broken Python in Jupyter Notebook
TL;DW BELOW! If you delete or upgrade your python version, you might get a Kernel Error when trying to use Jupyter Notebooks !...
Read more >
Sample notebooks—ArcGIS Online Help | Documentation
The Notebooks home page opens. Click the Esri sample notebooks tab. If you want to preview a sample notebook, click Preview. If you...
Read more >
Solve problems with Jupyter Notebooks - coursera.support
If your assessment launches into a Jupyter Notebook and is labeled “Ungraded Lab” or “Programming Assignment”, you can use the article “Solve ...
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