[IPython-dev] Errors in ipython startup muted by Notebook?

Fernando Perez fperez.net at gmail.com
Wed Aug 6 20:07:38 EDT 2014


On Wed, Aug 6, 2014 at 4:37 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> So the difference is that it's not a TTY, which makes sense. I guess the
> process launcher pipes stdout and stderr to a log file somewhere, or just
> to /dev/null.
>

OK, I've tested and isatty() returns True for a normally started notebook
and kernel (opened from a terminal). So that could be the way to test, and
in that case, to use a file-based logger for all orphaned output.

Otherwise, debugging this stuff will be insanely hard :)

-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140806/4e52a9a7/attachment.html>


More information about the IPython-dev mailing list