<br><br><div class="gmail_quote">On Mon, Nov 14, 2011 at 02:56, Rok Roskar <span dir="ltr">&lt;<a href="mailto:roskar@physik.uzh.ch">roskar@physik.uzh.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi all:<br>
<br>
I did a local install of the zeroqm library and tried to start up the<br>
ipython parallel environment using the ipcluster command -- pyzqm<br>
complains about receiving a prefix keyword and fails. Any feedback is<br>
greatly appreciated! I copy the session below:<br></blockquote><div><br></div><div>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).</div>

<div><br></div><div>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</div>

<div>error.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
[roskar@miniature ~]$ ipcluster start --n=4<br>
[IPClusterStart] Using existing profile dir:<br>
u&#39;/home/itp/roskar/.ipython/profile_default&#39;<br>
[IPClusterStart] Starting ipcluster with [daemon=False]<br>
[IPClusterStart] Creating pid<br>
file: /home/itp/roskar/.ipython/profile_default/pid/ipcluster.pid<br>
[IPClusterStart] Starting LocalControllerLauncher: [&#39;/usr/bin/python&#39;,<br>
u&#39;/home/itp/roskar/python/ipython-0.11-py2.6.egg/IPython/parallel/apps/ipcontrollerapp.py&#39;, &#39;--log-to-file&#39;, &#39;--log-level=20&#39;, u&#39;--profile-dir=/home/itp/roskar/.ipython/profile_default&#39;]<br>


[IPClusterStart] Process &#39;/usr/bin/python&#39; started: 12180<br>
[IPClusterStart] [IPControllerApp] Using existing profile dir:<br>
u&#39;/home/itp/roskar/.ipython/profile_default&#39;<br>
[IPClusterStart] Scheduler started [leastload]<br>
[IPClusterStart] Starting 4 engines<br>
[IPClusterStart] Process &#39;/usr/bin/python&#39; started: 12201<br>
[IPClusterStart] Starting LocalEngineSetLauncher: [&#39;/usr/bin/python&#39;,<br>
u&#39;/home/itp/roskar/python/ipython-0.11-py2.6.egg/IPython/parallel/apps/ipengineapp.py&#39;, &#39;--log-to-file&#39;, &#39;--log-level=20&#39;, u&#39;--profile-dir=/home/itp/roskar/.ipython/profile_default&#39;]<br>
[IPClusterStart] Process &#39;/usr/bin/python&#39; started: 12202<br>
[IPClusterStart] Process &#39;/usr/bin/python&#39; started: 12203<br>
[IPClusterStart] Process &#39;/usr/bin/python&#39; started: 12204<br>
[IPClusterStart] Process &#39;engine set&#39; started: [None, None, None, None]<br>
[IPClusterStart] [IPEngineApp] Using existing profile dir:<br>
u&#39;/home/itp/roskar/.ipython/profile_default&#39;<br>
[IPClusterStart] ERROR:root:Uncaught exception, closing connection.<br>
[IPClusterStart] Traceback (most recent call last):<br>
[IPClusterStart]   File<br>
&quot;/home/itp/roskar/python/zmq/eventloop/zmqstream.py&quot;, line 397, in<br>
_handle_events<br>
[IPClusterStart]     self._handle_send()<br>
[IPClusterStart]   File<br>
&quot;/home/itp/roskar/python/zmq/eventloop/zmqstream.py&quot;, line 441, in<br>
_handle_send<br>
[IPClusterStart]     status = self.socket.send_multipart(msg, **kwargs)<br>
[IPClusterStart]   File &quot;socket.pyx&quot;, line 553, in<br>
zmq.core.socket.Socket.send_multipart (zmq/core/socket.c:4763)<br>
[IPClusterStart] TypeError: send_multipart() got an unexpected keyword<br>
argument &#39;prefix&#39;<br>
[IPClusterStart] [IPEngineApp] Using existing profile dir:<br>
u&#39;/home/itp/roskar/.ipython/profile_default&#39;<br>
[IPClusterStart] ERROR:root:Exception in I/O handler for fd<br>
&lt;zmq.core.socket.Socket object at 0x21baaf8&gt;<br>
[IPClusterStart] Traceback (most recent call last):<br>
[IPClusterStart]   File<br>
&quot;/home/itp/roskar/python/zmq/eventloop/ioloop.py&quot;, line 333, in start<br>
[IPClusterStart]     self._handlers[fd](fd, events)<br>
[IPClusterStart]   File<br>
&quot;/home/itp/roskar/python/zmq/eventloop/zmqstream.py&quot;, line 397, in<br>
_handle_events<br>
[IPClusterStart]     self._handle_send()<br>
[IPClusterStart]   File<br>
&quot;/home/itp/roskar/python/zmq/eventloop/zmqstream.py&quot;, line 441, in<br>
_handle_send<br>
[IPClusterStart]     status = self.socket.send_multipart(msg, **kwargs)<br>
[IPClusterStart]   File &quot;socket.pyx&quot;, line 553, in<br>
zmq.core.socket.Socket.send_multipart (zmq/core/socket.c:4763)<br>
[IPClusterStart] TypeError: send_multipart() got an unexpected keyword<br>
argument &#39;prefix&#39;<br>
[IPClusterStart] ERROR:root:Uncaught exception, closing connection.<br>
<br>
<br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</blockquote></div><br>