[IPython-user] strange Ctrl-C + mayavi interaction

Robert Cimrman cimrman3@ntc.zcu...
Thu May 14 11:24:51 CDT 2009


Gael Varoquaux wrote:
> On Thu, May 14, 2009 at 06:19:25PM +0200, Robert Cimrman wrote:
>> Gökhan SEVER wrote:
>>> I have IPython 0.10.bzr.r1173
> 
>>> Ctrl+C works fine if I start ipython with -wthread and do the mlab import.
> 
>>> Without -wthread it kicks me out after the same import.
> 
>> Yes, it works ok with -wthread and -qthread, but -gthread (or -pylab as 
>> I use GTKAgg by default) kicks out.
> 
> If I understood properly, you are importing Mayavi's mlab in a
> GTK-running application. Don't do this. It is a recipe for errors and
> crashes: Wx and GTK's mainloops are mutually exclusive.

Thanks for the explanation, I suspected something like that. I will use 
wx...

r.


More information about the IPython-user mailing list