[IPython-dev] multiprocessing from within notebook crashes kernel

Satrajit Ghosh satra@mit....
Wed Oct 3 13:17:44 CDT 2012


hi min,

just getting back to this error. turns out that this error results from an
interaction between our library's logging mechanism (using python logging
module), the ipython kernel (happens with notebook and console but not with
ipython on terminal) and multiprocessing. i don't get the same error
running the same set of commands in the ipython terminal. i suspect it has
to do with how logging output is trapped and conveyed in the
multiprocessing context back to the browser.

cheers,

satra

On Sun, Sep 9, 2012 at 2:22 PM, MinRK <benjaminrk@gmail.com> wrote:

> What version of pyzmq?  If it's less than 2.2.0.1, try upgrading.
> -MinRK
>
> On Sun, Sep 9, 2012 at 6:35 AM, Satrajit Ghosh <satra@mit.edu> wrote:
>
>> hi all,
>>
>> we are using a workflow library that internally uses multiprocessing to
>> distribute jobs locally. when we run this from the notebook, it crashes the
>> kernel.
>>
>> any thoughts as to why this might happen.
>>
>> here is the code from the library:
>>
>>
>> https://github.com/nipy/nipype/blob/master/nipype/pipeline/plugins/multiproc.py
>>
>> cheers,
>>
>> satra
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20121003/89e3ae64/attachment.html 


More information about the IPython-dev mailing list