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.

Bug: Output gets hidden on stop_and_persist in Jupyter notebooks

See original GitHub issue

Description

Currently, in jupyter notebooks, the final stop_and_persist output is not persisted. I’ve opened an issue in ipywidget for understanding the issue a little better (https://github.com/jupyter-widgets/ipywidgets/issues/2072).

System settings

  • Operating System: Mac OS 10.13.1
  • Terminal in use: NA
  • Jupyter version: 4.4.0
  • Python version: 2.7.14
  • Halo version: 9f9ea376d43f0d43859f7ddeee68e34834fdbf19
  • pip freeze output: NA

Error

The output display is not persited on stop_and_persist call.

Expected behaviour

The output should be persited on stop_and_persist call.

Steps to recreate

widget bug

People to notify

@JungWinter @ManrajGrover

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mschmocommented, Oct 12, 2019

I’d love to check this out for hacktoberfest. @JungWinter thanks for the starting point.

2reactions
JungWintercommented, May 17, 2018

Sorry for late response. I checked this issue in python 2.7.13 and find this line is making the problem.

https://github.com/ManrajGrover/halo/blob/4dbaa1a52356281cdf18cc1ce19016ad9276c09e/halo/halo_notebook.py#L38

After removing that line, final output seems to be resolved. Would you like to check this solution? I guess it caused by this change, but not sure.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter Notebook is not showing the output of any code ...
Hello, I am new to python. When I use Jupyter Notebook the code inside the cells won't execute and I get these empty...
Read more >
Jupyter notebook output window hidden - Stack Overflow
I can see the cell is still executing as the aterisk is still showing but the ouput window has dissapeared. How can I...
Read more >
The dreaded Jupyter * error — what it is, and how to fix it
Jupyter sometimes gets stuck, or wedged, with a * between the [] to the left of a cell. How does it happen, what...
Read more >
How to Hide all the code cells in Jupyter Notebook Python ...
This video will show you the steps to hide code cells in Jupyter Python notebook with a single click.You first need to install...
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 >

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