[IPython-user] TaskClient doesn't work after importing a module in MultiEngineClient
Fri Nov 14 11:04:00 CST 2008
I've encountered a problem with the parallel capabilities in the new
version of IPython 0.9.1.
It seems that if you import a package in the MultiEngineClient then
afterwards running tasks
with the TaskClient fails.
This use case was working properly in the previous version of IPython1.
Attached is a reduced example that produces the error on my machine.
The output from the engines is:
008-11-11 09:12:48+0100 [-] Log opened.
2008-11-11 09:12:48+0100 [-] Using furl file:
2008-11-11 09:12:48+0100 [Negotiation,client] engine registration
succeeded, got id: 1
2008-11-11 09:12:50+0100 [-]
exceptions.DeprecationWarning: Reactor already running! This behavior is
deprecated since Twisted 8.0
Fatal Python error: PyEval_RestoreThread: NULL tstate
If I remove the line:
rc.execute('import test_cluster2 as M')
from the script, then everything works fine.
I'm using Python 2.4, with IPython 0.9.1 installed using twisted 8.1 and
The distribution is Fedora core 6, Linux kernel 18.104.22.168.fc6, x86_64
Any help would be appreciated.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1382 bytes
Desc: not available
Url : http://lists.ipython.scipy.org/pipermail/ipython-user/attachments/20081114/ad8096e1/attachment.py
More information about the IPython-user