[IPython-User] Updating twisted broke ipcluster

John Reid j.reid@mail.cryst.bbk.ac...
Mon Mar 14 09:39:23 CDT 2011


On 14/03/11 14:37, John Reid wrote:
> Hi,
>
> I updated twisted to 10.2.0 and now my local ipcluster doesn't start.
>
> john@john-dell:~/Dev/MyProjects/STEME/run-dir$ ipcluster local
> 2011-03-14 14:33:13+0000 [-] Log opened.
> 2011-03-14 14:33:13+0000 [-] Process ['ipcontroller',
> '--logfile=/home/john/.ipython/log/ipcontroller'] has started with pid=4001
> 2011-03-14 14:33:13+0000 [-] Waiting for controller to finish starting...
> 2011-03-14 14:33:23+0000 [-] Unhandled Error
> 	Traceback (most recent call last):
> 	Failure: IPython.kernel.error.FileTimeoutError: timeout waiting for
> file to be created: /home/john/.ipython/security/ipcontroller-engine.furl
> 	
> Any ideas what might cause this? I'm using ipython 10.1 with python 2.6.
>
> Thanks,
> John.


The ipcontroller log file looks like this:

2011-03-14 14:37:20+0000 [-] Log opened.
2011-03-14 14:37:20+0000 [-] 
/usr/lib/pymodules/python2.6/foolscap/pb.py:48: 
exceptions.DeprecationWarning: twisted.application.strports.parse was 
deprecated in Twisted 10.2.0: in favor of 
twisted.internet.endpoints.serverFromString
2011-03-14 14:37:20+0000 [-] foolscap.pb.Listener starting on 57548
2011-03-14 14:37:20+0000 [-] foolscap.pb.Listener starting on 50612
2011-03-14 14:37:20+0000 [-] Adapting Controller to interface: multiengine
2011-03-14 14:37:20+0000 [-] Saving furl for interface [multiengine] to 
file: /home/john/.ipython/security/ipcontroller-mec.furl
2011-03-14 14:37:20+0000 [-] Adapting Controller to interface: task
2011-03-14 14:37:20+0000 [-] Saving furl for interface [task] to file: 
/home/john/.ipython/security/ipcontroller-tc.furl
2011-03-14 14:37:20+0000 [-] Saving furl for the engine to file: 
/home/john/.ipython/security/ipcontroller-engine.furl
2011-03-14 14:37:20+0000 [-] twisted.internet.protocol.DatagramProtocol 
starting on 57729
2011-03-14 14:37:20+0000 [-] Starting protocol 
<twisted.internet.protocol.DatagramProtocol instance at 0x387c050>
2011-03-14 14:37:20+0000 [-] 
/usr/lib/pymodules/python2.6/foolscap/pb.py:72: 
exceptions.DeprecationWarning: twisted.application.strports.parse was 
deprecated in Twisted 10.2.0: in favor of 
twisted.internet.endpoints.serverFromString
2011-03-14 14:37:20+0000 [-] twisted.internet.protocol.DatagramProtocol 
starting on 33351
2011-03-14 14:37:20+0000 [-] Starting protocol 
<twisted.internet.protocol.DatagramProtocol instance at 0x3a49fc8>
2011-03-14 14:37:20+0000 [-] Unhandled error in Deferred:
2011-03-14 14:37:20+0000 [-] Unhandled Error
	Traceback (most recent call last):
	  File 
"/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/base.py", 
line 789, in runUntilCurrent
	    call.func(*call.args, **call.kw)
	  File "/usr/lib/pymodules/python2.6/foolscap/eventual.py", line 26, in 
_turn
	    cb(*args, **kwargs)
	  File 
"/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py", 
line 361, in callback
	    self._startRunCallbacks(result)
	  File 
"/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py", 
line 455, in _startRunCallbacks
	    self._runCallbacks()
	--- <exception caught here> ---
	  File 
"/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py", 
line 542, in _runCallbacks
	    current.result = callback(current.result, *args, **kw)
	  File "/usr/lib/pymodules/python2.6/foolscap/pb.py", line 523, in 
_got_local_ip
	    portnum = l.getPortnum()
	  File "/usr/lib/pymodules/python2.6/foolscap/pb.py", line 74, in 
getPortnum
	    return self.s._port.getHost().port
	exceptions.AttributeError: 'StreamServerEndpointService' object has no 
attribute '_port'
	
2011-03-14 14:37:20+0000 [-] Unhandled error in Deferred:
2011-03-14 14:37:20+0000 [-] Unhandled Error
	Traceback (most recent call last):
	  File 
"/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/base.py", 
line 789, in runUntilCurrent
	    call.func(*call.args, **call.kw)
	  File "/usr/lib/pymodules/python2.6/foolscap/eventual.py", line 26, in 
_turn
	    cb(*args, **kwargs)
	  File 
"/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py", 
line 361, in callback
	    self._startRunCallbacks(result)
	  File 
"/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py", 
line 455, in _startRunCallbacks
	    self._runCallbacks()
	--- <exception caught here> ---
	  File 
"/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py", 
line 542, in _runCallbacks
	    current.result = callback(current.result, *args, **kw)
	  File "/usr/lib/pymodules/python2.6/foolscap/pb.py", line 523, in 
_got_local_ip
	    portnum = l.getPortnum()
	  File "/usr/lib/pymodules/python2.6/foolscap/pb.py", line 74, in 
getPortnum
	    return self.s._port.getHost().port
	exceptions.AttributeError: 'StreamServerEndpointService' object has no 
attribute '_port'
	
2011-03-14 14:37:20+0000 [-] (Port 57729 Closed)
2011-03-14 14:37:20+0000 [-] Stopping protocol 
<twisted.internet.protocol.DatagramProtocol instance at 0x387c050>
2011-03-14 14:37:20+0000 [-] (Port 33351 Closed)
2011-03-14 14:37:20+0000 [-] Stopping protocol 
<twisted.internet.protocol.DatagramProtocol instance at 0x3a49fc8>
2011-03-14 14:37:28+0000 [-] Received SIGINT, shutting down.
2011-03-14 14:37:28+0000 [foolscap.pb.Listener] (TCP Port 57548 Closed)
2011-03-14 14:37:28+0000 [foolscap.pb.Listener] (TCP Port 50612 Closed)
2011-03-14 14:37:28+0000 [-] Main loop terminated.



More information about the IPython-User mailing list