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.

Error message not shown when using a callback!

See original GitHub issue

Using JupyterLab 1.1.4

When using a simple code snippet like this

from IPython.display import display
from ipywidgets import widgets
button = widgets.Button(description="Click Me!")
display(button)

def on_button_clicked(b):
    a=1/0
    # do something important

button.on_click(on_button_clicked)

and I run the code and click on the button, I do not get any error message! There is clearly an error, but I do not see it in any output!

Will this bug fixed in a future release?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jasongroutcommented, Nov 13, 2019

And we are very grateful for @mbektasbbg for implementing the log console in JupyterLab 1.2 (and his employer Bloomberg for prioritizing him to work on it) so that we could move back to showing errors and output by default!

0reactions
jasongroutcommented, Nov 14, 2019

I think we can migrate to JupyterLab 1.2

Enjoy!

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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