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.

Robot-Marbles-Part-6.ipynb gives an unexpected error when run on windows.

See original GitHub issue

To recreate the bug:

  1. Pull code from default branch.
  2. Run all steps in the robot-marbles-part-6 notebook.

Fails on step 17 with NameError: name 'rand' is not defined

Expected: results of both configurations should be appended to the “results” variable.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
markusbkochcommented, Apr 13, 2020

Thanks, @ResourceHog . I guess that makes sense. For a while now in our internal projects we’ve been separating the model definition from the analysis notebook for better version control (same project structure used in the prey-predator example), so that’s another reason why we didn’t catch this.

We need to think about how to handle the tutorials given this. IMO, the ideal experience for a newcomer would not require parsing multiple files, as I believe introducing concepts and corresponding code snippets throughout the notebook makes the tutorial more readable and accessible. I’ll think about it and I’m happy to hear different points of view and suggestions others might have.

0reactions
JEJodestycommented, Jun 23, 2020

@ResourceHog #104 pertains to your issue and the solution is merged Thanks for brining it to our attention

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter notebook error Windows 10 - python - Stack Overflow
An example of creating file. Creating File Failed An error occurred while creating anew file. ''' Unexpected error while saving file: untitled.
Read more >
Unexpected error while saving file: Untitled.ipynb database is ...
I am trying to run Jupyter notebook on remote cluster. After I set up the ssh tunnel from local machine to the remote...
Read more >
Error: Creating Notebook Failed. An error occurred while ...
Technical Article Details : Error: Creating Notebook Failed. An error occurred while creating a new notebook. Permission denied: .ipynb.
Read more >
Use Jupyter Notebooks in Azure Data Studio - Microsoft Learn
ipynb opens. Go to the File Menu in Azure Data Studio and select New Notebook. New file notebook. Right-click a SQL ...
Read more >
Jupyter: database is locked / can not load notebook format
Link to section 'Problem' of 'Jupyter: database is locked / can not load ... Unexpected error while saving file: MyNotebookName.ipynb database is locked ......
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