[IPython-dev] [Matplotlib-users] Bug in mathtext

Jörgen Stenarson jorgen.stenarson at bostream.nu
Tue Dec 4 16:39:16 EST 2007


Michael Droettboom skrev:
> Fernando Perez wrote:
>> Hey Jorgen,
>>
>> On Dec 4, 2007 12:10 PM, Jörgen Stenarson <jorgen.stenarson at bostream.nu> wrote:
>>> Hi,
>>>
>>> I get a complete crash dumping me in the console when there are unknown
>>> latex commands in a mathtext expression, this when doing interactive
>>> stuff in ipython -pylab.
>>>
>>> examples:
>>> title("$|S_{11}|$")
>> that's odd, it's OK for mpl to throw the exception, what shouldn't be
>> happening is for ipython to fully crash out.  I can't reproduce it
>> with SVN mpl on my box, I tried both tkagg and gtkagg as backends and
>> in both cases I see the exception traceback (as Michael intended by
>> raising the error) but I simply get back the next ipython prompt, as
>> usual.  I don't understand how this particular exception could crash
>> out ipython, since it's being raised inside regular user code...
> 
> You're right -- I misread the original report.  It doesn't crash ipython 
> for me either.  I just get another ipython prompt.
> 
> Cheers,
> Mike
> 

Thanks Mike. I hope we can figure out what is causing the crashes but I 
guess we can take this over on the ipython-list. Fernando have you tried 
it on a windows machine? I'm using tkagg. Do you have any ideas on what 
I could start testing to isolate the problem?

/Jörgen



More information about the IPython-dev mailing list