[IPython-User] ipcluster fails to initialize

MinRK benjaminrk@gmail....
Mon Nov 14 10:21:01 CST 2011


On Mon, Nov 14, 2011 at 02:56, Rok Roskar <roskar@physik.uzh.ch> wrote:

> Hi all:
>
> I did a local install of the zeroqm library and tried to start up the
> ipython parallel environment using the ipcluster command -- pyzqm
> complains about receiving a prefix keyword and fails. Any feedback is
> greatly appreciated! I copy the session below:
>

How did you install pyzmq?  This is very strange, because it means that
your core zmq (zmq.core) is somehow from a different version of pyzmq than
zmqstream (in zmq.eventloop).

Are you perhaps using pyzmq from git, and have it symlinked in / using
`setupegg.py develop`?  If so, you may have done a pull that updated the
Python/Cython source files, but neglected to do `python setup.py build_ext
--inplace` to update the compiled extensions, which I think could cause this
error.


>
>
> [roskar@miniature ~]$ ipcluster start --n=4
> [IPClusterStart] Using existing profile dir:
> u'/home/itp/roskar/.ipython/profile_default'
> [IPClusterStart] Starting ipcluster with [daemon=False]
> [IPClusterStart] Creating pid
> file: /home/itp/roskar/.ipython/profile_default/pid/ipcluster.pid
> [IPClusterStart] Starting LocalControllerLauncher: ['/usr/bin/python',
> u'/home/itp/roskar/python/ipython-0.11-py2.6.egg/IPython/parallel/apps/ipcontrollerapp.py',
> '--log-to-file', '--log-level=20',
> u'--profile-dir=/home/itp/roskar/.ipython/profile_default']
> [IPClusterStart] Process '/usr/bin/python' started: 12180
> [IPClusterStart] [IPControllerApp] Using existing profile dir:
> u'/home/itp/roskar/.ipython/profile_default'
> [IPClusterStart] Scheduler started [leastload]
> [IPClusterStart] Starting 4 engines
> [IPClusterStart] Process '/usr/bin/python' started: 12201
> [IPClusterStart] Starting LocalEngineSetLauncher: ['/usr/bin/python',
> u'/home/itp/roskar/python/ipython-0.11-py2.6.egg/IPython/parallel/apps/ipengineapp.py',
> '--log-to-file', '--log-level=20',
> u'--profile-dir=/home/itp/roskar/.ipython/profile_default']
> [IPClusterStart] Process '/usr/bin/python' started: 12202
> [IPClusterStart] Process '/usr/bin/python' started: 12203
> [IPClusterStart] Process '/usr/bin/python' started: 12204
> [IPClusterStart] Process 'engine set' started: [None, None, None, None]
> [IPClusterStart] [IPEngineApp] Using existing profile dir:
> u'/home/itp/roskar/.ipython/profile_default'
> [IPClusterStart] ERROR:root:Uncaught exception, closing connection.
> [IPClusterStart] Traceback (most recent call last):
> [IPClusterStart]   File
> "/home/itp/roskar/python/zmq/eventloop/zmqstream.py", line 397, in
> _handle_events
> [IPClusterStart]     self._handle_send()
> [IPClusterStart]   File
> "/home/itp/roskar/python/zmq/eventloop/zmqstream.py", line 441, in
> _handle_send
> [IPClusterStart]     status = self.socket.send_multipart(msg, **kwargs)
> [IPClusterStart]   File "socket.pyx", line 553, in
> zmq.core.socket.Socket.send_multipart (zmq/core/socket.c:4763)
> [IPClusterStart] TypeError: send_multipart() got an unexpected keyword
> argument 'prefix'
> [IPClusterStart] [IPEngineApp] Using existing profile dir:
> u'/home/itp/roskar/.ipython/profile_default'
> [IPClusterStart] ERROR:root:Exception in I/O handler for fd
> <zmq.core.socket.Socket object at 0x21baaf8>
> [IPClusterStart] Traceback (most recent call last):
> [IPClusterStart]   File
> "/home/itp/roskar/python/zmq/eventloop/ioloop.py", line 333, in start
> [IPClusterStart]     self._handlers[fd](fd, events)
> [IPClusterStart]   File
> "/home/itp/roskar/python/zmq/eventloop/zmqstream.py", line 397, in
> _handle_events
> [IPClusterStart]     self._handle_send()
> [IPClusterStart]   File
> "/home/itp/roskar/python/zmq/eventloop/zmqstream.py", line 441, in
> _handle_send
> [IPClusterStart]     status = self.socket.send_multipart(msg, **kwargs)
> [IPClusterStart]   File "socket.pyx", line 553, in
> zmq.core.socket.Socket.send_multipart (zmq/core/socket.c:4763)
> [IPClusterStart] TypeError: send_multipart() got an unexpected keyword
> argument 'prefix'
> [IPClusterStart] ERROR:root:Uncaught exception, closing connection.
>
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20111114/7d8fb406/attachment.html 


More information about the IPython-User mailing list