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

Robert Cimrman cimrman3@ntc.zcu...
Thu May 14 11:19:25 CDT 2009


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.

r.


> On Thu, May 14, 2009 at 9:01 AM, Robert Cimrman <cimrman3@ntc.zcu.cz> wrote:
> 
>> Again sort of replying to myself...
>>
>> The problem described below does not appear when using isfepy with
>> IPShellWX, as descibed in my previous post (Re: [IPython-user] threaded
>> ipython shell):
>>
>> In [17]:
>> KeyboardInterrupt - Press <Enter> to continue.
>>
>> r.
>>
>> Robert Cimrman wrote:
>>> Normally, pressing Ctrl-C causes:
>>>
>>> In [1]:
>>> KeyboardInterrupt
>>>
>>>
>>> After importing
>>>
>>> In [1]: from enthought.mayavi import mlab
>>>
>>> Ctrl-C terminates ipython without any message.
>>>
>>> How can I prevent this behaviour?
>>>
>>> thanks,
>>> r.
>> _______________________________________________
>> IPython-user mailing list
>> IPython-user@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>>
> 



More information about the IPython-user mailing list