[PyQt] SIP exception translation results in internal error

Arve Knudsen arve.knudsen at gmail.com
Tue Jun 3 10:09:53 BST 2008

On 6/3/08, Phil Thompson <phil at riverbankcomputing.com> wrote:
> On Tuesday 03 June 2008 9:38:24 am Arve Knudsen wrote:
>  > Hi
>  >
>  > I tried to play with SIP's support for automatic exception translation
>  > (the "-e" option), in our application which embeds Python/PyQt. The
>  > platform is Ubuntu 7.10 32bit. It doesn't seem to quite work however,
>  > since an internal error is encountered in PyEval_SaveThread: Fatal
>  > Python error: PyEval_SaveThread: NULL tstate. The gdb traceback shows
>  > that the call to PyEval_SaveThread happens in QtCore.so. A bug in SIP
>  > or PyQt?
> Do you have a test case?

Not at the moment at least, since this is in a larger application
which embeds Python. I can try to reproduce the error in a smaller
program, however. Could be that the error has to do with Python being


More information about the PyQt mailing list