[PyKDE] Are Python extenstions built with SIP and Boost.Python in compatible?

Paul F. Kunz Paul_Kunz at SLAC.Stanford.EDU
Tue Dec 10 19:08:00 GMT 2002


   I mae the test even simplier and still crash...

[pfkeb at Kunz-pbdsl1 python]$ python
Python 2.2.2 (#1, Oct 15 2002, 07:42:56) 
[GCC 2.95.3 20010315 (release)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys, string
>>> from qt import *
>>> app = QApplication ( sys.argv)
>>> from hippo import *
>>> cw = CanvasWindow()
Fatal Python error: PyThreadState_Get: no current thread
Abort (core dumped)
[pfkeb at Kunz-pbdsl1 python]$ 

At least I got error message now.

   To try it the other way around

[pfkeb at Kunz-pbdsl1 python]$ python
Python 2.2.2 (#1, Oct 15 2002, 07:42:56) 
[GCC 2.95.3 20010315 (release)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from hippo import *
>>> app = HDApp(1)
>>> from qt import *
>>> cw = QMainWindow()
>>> cw.show()
>>> app.exec_loop()
Fatal Python error: PyThreadState_Get: no current thread
Abort (core dumped)
[pfkeb at Kunz-pbdsl1 python]$ 

In the above, QApplication is created by HDApp(1) and we attempt to
create a window with PyQt.




More information about the PyQt mailing list