[IPython-dev] Updated build of trunk-dev available

Lakshman Prasad scorpion032@gmail....
Sun Jan 17 08:11:30 CST 2010


Hi,

I tested it on Ubuntu Karmic Python 2.6, The r1350
(ipython-0.11.bzr.r1340-py2.6.) and there seemed to be 1 failure in
IPython.core:


   - FAIL: Test that object's __del__ methods are called on exit.

(The other failure seems to be related)
Here is the complete traceback: http://gist.github.com/279386
Here is the traceback of the relevant section: http://gist.github.com/279387

Also, is there any quick reference (not necessarily explained and/or
detailed), of all the new features/fixes in 0.11

Thanks.

On Sun, Jan 17, 2010 at 6:09 PM, Michele Mattioni <mattions@gmail.com>wrote:

>
>
> On Sun, Jan 17, 2010 at 9:44 AM, Fernando Perez <fperez.net@gmail.com>wrote:
>
>> On Sun, Jan 17, 2010 at 1:35 AM, Michele Mattioni <mattions@gmail.com>
>> wrote:
>> > I tried to test the qt integration but it seems it doesn't work
>> properly.
>> >
>> > The ipython doesn't release the prompt as it should (an as it happens
>> with
>> > 0.10)
>> >
>> > I attach a rough script (and adaptation of Mayavi qt embedding), just
>> for
>> > testing purpose.
>>
>> Mmh, unfortunately I can't seem to run your script, because I get a
>> traceback:
>>
>> In [2]: run qt_embedding.py
>> Warning: Unable to import the qt4 backend for pyface due to traceback:
>> Traceback (most recent call last):
>>           File
>> "/usr/lib/python2.6/dist-packages/enthought/pyface/toolkit.py",
>> line 40, in _init_toolkit
>>            __import__(be + 'init')
>>        ImportError: No module named qt4.init
>>
>> Info: Unable to import any backend (qt4) for pyface; using the 'null'
>> toolkit instead.
>>
>> /usr/lib/python2.6/dist-packages/enthought/traits/ui/toolkit.py:128:
>> UserWarning: Unable to import the 'qt4' backend for traits UI; using
>> the 'null' toolkit instead.
>>  "using the 'null' toolkit instead." % toolkit_name )
>>
>> ---------------------------------------------------------------------------
>> ImportError                               Traceback (most recent call
>> last)
>>
>> /home/fperez/Desktop/qt_embedding.py in <module>()
>>     17     Int, Dict
>>     18 from enthought.traits.ui.api import View, Item
>> ---> 19 from enthought.mayavi.core.ui.api import MayaviScene,
>> MlabSceneModel, \
>>     20         SceneEditor
>>     21 from enthought.mayavi import mlab
>>
>> ImportError: No module named api
>>
>>
>> This is on ubuntu karmic.  Do I need to run from SVN Enthought for this
>> example?
>>
>>
>
> Yes, the latest mayavi api for qt integration are only in the latest SVN
> Enthought
>
>
>
>> It would be great if we could have a smaller example illustrating your
>> problem that didn't depend on all of Enthought's machinery, because we
>> really want to make sure things work OK with Qt.  I've tried simpler
>> tests using matplotlib with qt, and those seem OK so far.
>>
>
>
> I tested with only qt and it works.
>
>
>
>> One thing to try:
>>
>> 1. Start ipython *without* --gui
>> 2. At the ipython prompt, type
>> gui qt
>> 3. Try to run your script.
>>
>
> Then, repeat, but with 'gui -a qt' instead.  Let us know if  it
>> produces any difference at all.
>>
>>
> No difference.
>
>
>> If you have a simpler non-mayavi example, send it  our way.
>>
>>
> It seems it's mayavi related, I'm adding the mayavi list to this mail.
>
> Cheers,
> Michele.
>
>
>> Thanks for the feedback!
>>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Regards,
Lakshman
becomingguru.com
lakshmanprasad.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20100117/45df06e8/attachment.html 


More information about the IPython-dev mailing list