Skip to content

Provide a log of unhandled output #2455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jasongrout opened this issue Apr 28, 2017 · 3 comments
Open

Provide a log of unhandled output #2455

jasongrout opened this issue Apr 28, 2017 · 3 comments
Milestone

Comments

@jasongrout
Copy link
Member

With widgets as outputs, they may have output that is unhandled and has no specific cell to be displayed. It would be great if there was some sort of log area where any unhandled output in the notebook could be stored (and rendered if the log is displayed) to aid in debugging.

@jasongrout
Copy link
Member Author

We may have a workaround for widgets in jupyter-widgets/ipywidgets#1321, but there still is the overall issue of how to deal with unhandled, orphaned output.

@takluyver
Copy link
Member

👍

We probably can't keep it all forever, but I could see keeping a rolling buffer of N recent lines, accessible in a dialog. Once we move the notebook model to the server, it could go one better and log uncaptured output to a file.

@maartenbreddels
Copy link
Contributor

indeed 👍 , Maybe Output indeed should implement such a buffer, but I'd keep it simple and just have a simple implementation first without one. But how to display such a buffer? It it does not happen automatically, it won't help much people. Maybe sth like when output is written to, and _view_count == 0, we should display it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants