[PyQT] NULL tstate

axel.mittendorf at transfertech.de axel.mittendorf at transfertech.de
Thu Jan 15 07:19:31 EST 2004


Hi, I got a problem in a multithreaded PyQT application 
that uses the translate method from the QApplication class.
The last thing it does is:

self.cmd_anything.setAccel(self.__tr("Alt+S"))

__tr is:

def __tr(self,s,c =None):
   return qApp.translate( "Form_anything", s,c)

after this the application quits with this error message:
Fatal Python error: PyEval_SaveThread: NULL tstate

Does anyone know what this is?

TIA, Axel



More information about the Python-list mailing list