[PyQT] NULL tstate

Discussion in 'Python' started by axel.mittendorf@transfertech.de, Jan 15, 2004.

  1. Guest

    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
    , Jan 15, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. reinhard
    Replies:
    1
    Views:
    1,324
    Warren Postma
    Sep 13, 2003
  2. Patrick Stinson

    C API: NULL tstate

    Patrick Stinson, Feb 13, 2004, in forum: Python
    Replies:
    1
    Views:
    295
    RichH
    Feb 16, 2004
  3. Laszlo Nagy

    Fatal Python error: ceval: tstate mix-up

    Laszlo Nagy, Jan 9, 2009, in forum: Python
    Replies:
    0
    Views:
    820
    Laszlo Nagy
    Jan 9, 2009
  4. Laszlo Nagy
    Replies:
    0
    Views:
    428
    Laszlo Nagy
    Jan 9, 2009
  5. Laszlo Nagy
    Replies:
    0
    Views:
    300
    Laszlo Nagy
    Jan 12, 2009
Loading...

Share This Page