Our project was developed with Python 2.0 and includes some Tk 8.3
extension widgets as well as python extensions using the CXX interface.

After moving to Python 2.3 and TclTk 8.4 our program hangs with the
following message:

Fatal Python error: PyEval_RestoreThread: NULL tstate

The strange thing is that this happens in a not very predictible way;
some data is loaded and displayed in a self-made Tk widget. This works
fine a couple of times and usually crashes when a widget is closed and a
new one is opend. Debugging the widget code didn't give any hints.

Does anyone know which changes in python (2.0 -> 2.3) or TclTk/tkinter
(8.3 -> 8.4) might be responsible for this? Are there any solutions?

Reinhard Nadrchal

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
postedSep 11, '03 at 6:47a
activeSep 11, '03 at 6:47a

1 user in discussion

Reinhard: 1 post



site design / logo © 2022 Grokbase