[IPython-User] zmq 3.x compatibility

MinRK benjaminrk@gmail....
Mon Oct 17 12:55:05 CDT 2011


IPython master already does work with zmq-3.0, though it is somewhat
less reliable, as it is beta code.

On Mon, Oct 17, 2011 at 08:56, Flavio Coelho <fccoelho@gmail.com> wrote:
> Hi,
>
> Is it possible for Ipython-qtconsole to be fixed to run with ZMQ 3.0?
>
> I use zmq for other projects, I have already ported my code to work with 3.0
> and downgrading my installation to be able to run Ipython, is not something
> I look forward to.
>
> the Documentation says it is possible to emulate 3.0 API in 2.x:
>
> http://www.zeromq.org/docs:3-0-upgrade
>
> Considering 3.x is the future, It might not hurt to speed this aspect of
> Ipython evolution.
>
> this the Error I am getting:
>
> /usr/local/lib/python2.7/dist-packages/ipython-0.11-py2.7.egg/IPython/zmq/session.pyc
> in recv(self=<IPython.zmq.session.Session object>,
> socket=<zmq.core.socket.Socket object>, mode=1, content=True, copy=True)
>     577         # split multipart message into identity list and message
> dict
>     578         # invalid large messages can cause very expensive string
> comparisons
> --> 579         idents, msg_list = self.feed_identities(msg_list, copy)
>     580         try:
>     581             return idents, self.unpack_message(msg_list,
> content=content, copy=copy)
>
> /usr/local/lib/python2.7/dist-packages/ipython-0.11-py2.7.egg/IPython/zmq/session.pyc
> in feed_identities(self=<IPython.zmq.session.Session object>,
> msg_list=['\xcf$|3'], copy=True)
>     607         """
>     608         if copy:
> --> 609             idx = msg_list.index(DELIM)
>     610             return msg_list[:idx], msg_list[idx+1:]
>     611         else:
>
> ValueError: '<IDS|MSG>' is not in list
>
>
> thanks in advance,
>
> --
> Flávio Codeço Coelho
> ================
> +55(21) 3799-5567
> Professor
> Escola de Matemática Aplicada
> Fundação Getúlio Vargas
> Rio de Janeiro - RJ
> Brasil
>
>
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>


More information about the IPython-User mailing list