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.

Clear cell output doesn't always work

See original GitHub issue
  1. Create a cell with this code (this code is from one of our native notebooks tests)
print("Start")
import time
for i in range(100):
    time.sleep(0.1)
    print(i)

print("End")
  1. Execute it
  2. While it’s running and appending to output, execute ‘Clear All Cells Outputs’ a bunch of times
  3. Eventually the cell will stop updating with output while continuing to run
  4. Rerunning the cell will get it into a state where it never completes image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
roblourenscommented, Apr 19, 2021
0reactions
joyceerhlcommented, Apr 30, 2021

Validated. Tried the original repro 5 times and everything works as expected. Thank you @roblourens!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Clear cell output doesn't always work · Issue #5446 - GitHub
Execute it; While it's running and appending to output, execute 'Clear All Cells Outputs' a bunch of times; Eventually the cell will stop ......
Read more >
Clear widget area of a cell in a Jupyter notebook from within ...
I just tried using notebook 5/ipywidgets 6 and still doesn't seem to be working. Have updated my question with my minimal examples showing...
Read more >
How to select and delete all Output cells?
On Windows (Mac does not work yet): Execute the following code in a notebook and restart Mathematica. Then hitting F4 will delete all...
Read more >
Clearing Output Data in Jupyter Notebooks using Pre-commit ...
When you have Jupyter notebook opened, you can do this by selecting the Cell -> All Output -> Clear menu item. However, based...
Read more >
Locate and reset the last cell on a worksheet - Microsoft Support
Do one of the following: · On the Home tab, in the Editing group, click the arrow next to the Clear button ·...
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