[IPython-user] Fwd: TaskClient problems

Yichun Wei yichun.wei@gmail....
Thu Apr 2 19:52:06 CDT 2009


These lines in your log

> 2009-04-02 12:18:55-0700 [-] Engines started with pids: [1803, 1804]
> 2009-04-02 12:22:36-0700 [-] 'Fatal Python error: PyEval_RestoreThread: NULL tstate\n'
> 2009-04-02 12:22:36-0700 [-] Process ['ipengine', '--logfile=/Users/miket/.ipython/log/ipengine1799-'] has stopped with {'status': 6, 'signal': 6, 'exit_code': None}
> 2009-04-02 12:22:36-0700 [-] 'Fatal Python error: PyEval_RestoreThread: NULL tstate\n'
> 2009-04-02 12:22:36-0700 [-] Process ['ipengine', '--logfile=/Users/miket/.ipython/log/ipengine1799-'] has stopped with {'status': 6, 'signal': 6, 'exit_code': None}

Indicate something playing with GIL go busted. Are your trying to push
simple python objects, or stuff that is related to a C extension?

-yichun


On Thu, Apr 2, 2009 at 2:54 PM, M Trumpis <mtrumpis@berkeley.edu> wrote:
> I'll try and see on Mac OS, but I do see the same thing in Ubuntu with
> twisted 8.1.0
>
> There is no weird stdout when starting up ipcluster, but the engines
> do shut down in the same way, and the twisted exception is pretty much
> the same:
>
> 2009-04-02 13:58:18-0700 [-] Log opened.
> 2009-04-02 13:58:18-0700 [-] Using furl file:
> /home/mike/.ipython/security/ipcontroller-engine.furl
> 2009-04-02 13:58:18-0700 [Negotiation,client] engine registration
> succeeded, got id: 0
> 2009-04-02 13:58:36-0700 [-]
> /usr/lib/python2.5/site-packages/twisted/internet/base.py:1047:
> exceptions.DeprecationWarning: Reactor already running! This behavior
> is deprecated since Twisted 8.0
>
> I actually think the engines shut down when doing a mec.push in this
> case, instead of anything with the TaskClient.
>
> In Ubuntu, I rolled back to the 0.9.1 release and was able to fire off
> the jobs successfully.
>
> Mike
>
>
> On Thu, Apr 2, 2009 at 2:30 PM, Fernando Perez <fperez.net@gmail.com> wrote:
>> On Thu, Apr 2, 2009 at 2:23 PM, Yichun Wei <yichun.wei@gmail.com> wrote:
>>> I had the impression that I needed Twised 8.1 to have my code work.
>>> The warning about reactor.run reminds me that it might be related.
>>> Just an idea, not sure if it helps. -yichun
>>
>> Good point!  On my ubuntu box, I have this too:
>>
>> In [2]: twisted.__version__
>> Out[2]: '8.1.0'
>>
>>
>> Mike, could you try updating your twisted and seeing if that helps?
>>
>> f
>> _______________________________________________
>> IPython-user mailing list
>> IPython-user@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>>
> _______________________________________________
> IPython-user mailing list
> IPython-user@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>


More information about the IPython-user mailing list