On Tue, May 3, 2011 at 1:53 PM, Gael Varoquaux
<gael.varoqu...@normalesup.org> wrote:
> On Tue, May 03, 2011 at 01:49:54PM +0100, Michele Mattioni wrote:
>> None.
>> Basically the application hang there.
>> Look at this:
>
>>     mattions@triton:examples(qt_emb*)$ ipython -q4thread
>>     Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
>>     Type "copyright", "credits" or "license" for more information.
>
>>     IPython 0.10.1 -- An enhanced Interactive Python.
>>     ?         -> Introduction and overview of IPython's features.
>>     %quickref -> Quick reference.
>>     help      -> Python's own help system.
>>     object?   -> Details about 'object'. ?object also works, ?? prints more.
>
>>     In [1]: run qt_embedding.py
>
> That's because you cannot start a mainloop in IPython anymore. When you
> are running from IPython you should comment out the last line of that
> example.
>
> mlab.show() is engineered to work around this issue by detecting that
> IPython is there, and not starting the mainloop.
>
> I would like to stress that these changes are changes in IPython, not
> Mayavi, and that they apply to any GUI program, not only to Mayavi.
>
> G
>

In which version of Ipython this happened? Natty and lucid are running
the same Ipython version (0.10.1), but I didn't have that behaviour in
lucid...

P.S.: commenting the app.exec_() works.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to