[IPython-User] using %run confuses stderr (makes it to post everything twice, 3, 4, 5 times..)

Ilia Chinkarev ilia.chinkarev@gmail....
Tue Feb 4 18:53:12 CST 2014


Dear all,

When I am using %run to run my scripts, I see a rather weird phenomena:

When I run it for the first time - everything works as expected.

When I run it more than 1 time, the stderr output (the red/pink one) is
starting to duplicate itself. It's much easier to post a screenshot, than
to explain, so please see the attached screenshot.

But in words, it's like this: Every line would repeat itself next time I
run it. So this:

no configs found; falling back on auto-configuration
no configs found; falling back on auto-configuration

creating tmp directory
c:\users\ilia\appdata\local\temp\MrJobTest.ilia.20140205.004723.604000

writing to c:\users\ilia\appdata\local\temp\MrJobTest.ilia.20140205.004723.604000\step-0-mapper_part-00000


Would become this:


no configs found; falling back on auto-configuration
no configs found; falling back on auto-configuration

no configs found; falling back on auto-configuration
no configs found; falling back on auto-configuration

creating tmp directory
c:\users\ilia\appdata\local\temp\MrJobTest.ilia.20140205.004723.604000

creating tmp directory
c:\users\ilia\appdata\local\temp\MrJobTest.ilia.20140205.004723.604000

writing to c:\users\ilia\appdata\local\temp\MrJobTest.ilia.20140205.004723.604000\step-0-mapper_part-00000

writing to c:\users\ilia\appdata\local\temp\MrJobTest.ilia.20140205.004723.604000\step-0-mapper_part-00000



Even if this is a bug, I was wondering is there any way to avoid it or
to shortcut it, except shutting down the kernel and starting it again.
It works, but it's very tedious.


Thank you all very much in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20140204/573e7ebb/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sc001.PNG
Type: image/png
Size: 50938 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/ipython-user/attachments/20140204/573e7ebb/attachment-0001.png 


More information about the IPython-User mailing list