[IPython-dev] How to print stderr in qtconsole?

Carlos Córdoba ccordoba12 at gmail.com
Mon Jun 10 21:41:50 EDT 2013


Well, they are trying to run a test suite built with unittest. You can 
see our user description of the problem here

http://code.google.com/p/spyderlib/issues/detail?id=1370

If you start qtconsole from a terminal, then you'll see the error 
message of our user's example printed in the terminal and not in qtconsole.

I thought the problem was related to a redirection of stderr to the 
wrong place, but I may be wrong :-)

Cheers,
Carlos

El 10/06/13 20:28, MinRK escribió:
> In what context? Kernel stderr is treated in the same way as stdout.
>
>
> On Mon, Jun 10, 2013 at 6:20 PM, Carlos Córdoba <ccordoba12 at gmail.com 
> <mailto:ccordoba12 at gmail.com>> wrote:
>
>     Hi,
>
>     Several Spyder users want to run their tests in our qtconsole widgets,
>     but unfortunately stderr is not printed inside them but in our kernel
>     ones. What do I need to do to make it appear in the first ones?
>
>     I would like to know the answer both for 0.13.2 and 1.0dev.
>
>     Thanks,
>     Carlos
>     _______________________________________________
>     IPython-dev mailing list
>     IPython-dev at scipy.org <mailto:IPython-dev at scipy.org>
>     http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130610/b6fdcfe0/attachment.html>


More information about the IPython-dev mailing list