Dear Jakob and Ben, 

I am seeing the same error.  This is with a clean install of Python 2.7,
numpy 1.6.1, and matplotlib 1.0.1 (all 32-bit versions running under a Win 7
64-bit OS).  In fact, all I am doing to test this is to execute the
'embedding_in_tk.py' example that is on the examples web page, with the
button calls at the end of the script uncommented.  Any attempt to use that
'Quit' button causes the NULL tstate error.

Any info on this would be appreciated.  I'm not saying I'm an expert, but
given that this isn't working "out of the box," it appears to be a bug.

Chad


Benjamin Root-2 wrote:
> 
> On Wed, Aug 3, 2011 at 3:50 AM, Jakob123
> <jakob.glei...@ise.fraunhofer.de>wrote:
> 
>>
>> Hej there!
>> I am using PyPlot to draw onto a Tkinter GUI (in Python 2.6). Works fine,
>> but when I close the window (root.destroy()) PyPlot apparently crashes
>> with
>> the error message "Fatal Python error: PyEval_RestoreThread: NULL tstate"
>> (error 0x40000015). 
>>
>>
> Jakob,
> 
> A little while back, we put out an important v1.0.1 release that addressed
> many issues with the various backends.  While I don't remember all of the
> bugs it fixed, it may have fixed that one.  I would suggest installing
> that
> version and seeing if it work for you.
> 
> Ben Root
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/PyPlot-crashes-upon-closing-tp32184426p32304069.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to