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

Gael Varoquaux gael.varoquaux@normalesup....
Thu May 14 11:21:44 CDT 2009


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.

Gaël


More information about the IPython-user mailing list