[IPython-dev] Qt console broken in trunk?

Mark Voorhies mark.voorhies at ucsf.edu
Wed Jan 26 20:11:27 EST 2011


Naive googling suggests that the major Linux distros are ready for 2.0.10:
(I know some of the packagers are on this list, so feel free to correct me)

Debian: 2.0.10 is in experimental (looks like it's being held there until after next week's release of Squeeze)             
             http://packages.qa.debian.org/p/pyzmq.html

Ubuntu: is still on 0.1.20100703+git18f5d06155-1 for Natty?
             https://launchpad.net/ubuntu/+source/pyzmq
             Reasonable to assume that 2.0.10 will propagate after it hits Debian unstable?

Fedora: 2.0.10 is in testing for Fedora 14
            https://admin.fedoraproject.org/updates/python-zmq

SUSE: 2.0.10 is in SLE_11 (same as SLED?) and OpenSUSE 11.1
            https://build.opensuse.org/package/binaries?package=python-pyzmq&project=devel%3Alanguages%3Apython&repository=SLE_11
            https://build.opensuse.org/package/binaries?package=python-pyzmq&project=devel%3Alanguages%3Apython&repository=openSUSE_11.1

--Mark

On Wednesday, January 26, 2011 04:42:48 pm MinRK wrote:
> 2.0.10 has a lot of stability improvements over previous releases.  The main argument against it is if major distributions (EPD, various Linux distros) are still shipping 2.0.9, then we should maybe hold back.  
> 
> I can easily change the import if we want to do that.
> 
> -MinRK
> 
> On Wed, Jan 26, 2011 at 16:12, Brian Granger <ellisonbg at gmail.com> wrote:
>  
> I mean require 2.0.10?
>  
> 
>  On Wed, Jan 26, 2011 at 4:12 PM, Brian Granger <ellisonbg at gmail.com> wrote:
>  > Should we require 2.0.9 for IPython?
>  >
>  > Brian
>  >
>  > On Wed, Jan 26, 2011 at 4:09 PM, MinRK <benjaminrk at gmail.com> wrote:
>  >> What version of pyzmq do you have?  If you are still using 2.0.9, then
>  >> that's before we made this addition (early October).
>  >> I realize that since IPython depends on 2.6, I can just import the (super
>  >> slow) builtin json module, rather than follow pyzmq's import preferences.
>  >>
>  >> -MinRK
>  >> On Wed, Jan 26, 2011 at 16:00, Brian Granger <ellisonbg at gmail.com> wrote:
>  >>>
>  >>> Fernando,
>  >>>
>  >>> This is actually an import from pyzmq:
>  >>>
>  >>> In [4]: from zmq.utils import jsonapi as json
>  >>>
>  >>> In [5]: json.__file__
>  >>> Out[5]:
>  >>> '/Users/bgranger/Documents/Computation/zeromq/pyzmq/zmq/utils/jsonapi.pyc'
>  >>>
>  >>> So it looks like something is odd with your pyzmq install...unless for
>  >>> some reason Python is putting  the IPython directory in you sys.path
>  >>> so importing zmq picks up IPython.zmq instead of zmq (pyzmq).  Can you
>  >>> look at your pyzmq install?
>  >>>
>  >>> Brian
>  >>>
>  >>>
>  >>> On Wed, Jan 26, 2011 at 3:31 PM, Fernando Perez <fperez.net at gmail.com>
>  >>> wrote:
>  >>> > Hey guys,
>  >>> >
>  >>> > as I was working on the 'asdf' bug I just posted about, I tried to use
>  >>> > the Qt console after updating my trunk, and got this:
>  >>> >
>  >>> > (trunk)dreamweaver[ipython]> ipython-qtconsole
>  >>> > Traceback (most recent call last):
>  >>> >  File "/home/fperez/usr/bin/ipython-qtconsole", line 4, in <module>
>  >>> >    from IPython.frontend.qt.console.ipythonqt import main
>  >>> >  File
>  >>> > "/home/fperez/ipython/ipython/IPython/frontend/qt/console/ipythonqt.py",
>  >>> > line 17, in <module>
>  >>> >    from IPython.frontend.qt.kernelmanager import QtKernelManager
>  >>> >  File
>  >>> > "/home/fperez/ipython/ipython/IPython/frontend/qt/kernelmanager.py",
>  >>> > line 9, in <module>
>  >>> >    from IPython.zmq.kernelmanager import KernelManager,
>  >>> > SubSocketChannel, \
>  >>> >  File "/home/fperez/ipython/ipython/IPython/zmq/kernelmanager.py",
>  >>> > line 36, in <module>
>  >>> >    from session import Session, Message
>  >>> >  File "/home/fperez/ipython/ipython/IPython/zmq/session.py", line 7,
>  >>> > in <module>
>  >>> >    from zmq.utils import jsonapi as json
>  >>> > ImportError: No module named utils
>  >>> >
>  >>> >
>  >>> > Not sure when it broke, but I suspect the merge of the recent session
>  >>> > branch might have something to do with it.
>  >>> >
>  >>> > Brian/Min, do you guys have an idea of what happened, maybe just a
>  >>> > file someone forgot to add from their local working tree?
>  >>> >
>  >>> > Cheers,
>  >>> >
>  >>> > f
>  >>> > _______________________________________________
>  >>> > IPython-dev mailing list
>  >>> > IPython-dev at scipy.org
>  >>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>  >>> >
>  >>>
>  >>>
>  >>>
>  >>> --
>  >>> Brian E. Granger, Ph.D.
>  >>> Assistant Professor of Physics
>  >>> Cal Poly State University, San Luis Obispo
>  >>> bgranger at calpoly.edu
>  >>> ellisonbg at gmail.com
>  >>> _______________________________________________
>  >>> IPython-dev mailing list
>  >>> IPython-dev at scipy.org
>  >>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>  >>
>  >>
>  >
>  >
>  >
>  > --
>  > Brian E. Granger, Ph.D.
>  > Assistant Professor of Physics
>  > Cal Poly State University, San Luis Obispo
>  > bgranger at calpoly.edu
>  > ellisonbg at gmail.com
>  >
>  
>  
>  
>  
> --
>  
> Brian E. Granger, Ph.D.
>  Assistant Professor of Physics
>  Cal Poly State University, San Luis Obispo
>  bgranger at calpoly.edu
>  ellisonbg at gmail.com
> 



More information about the IPython-dev mailing list