View Single Post
Posts: 190 | Thanked: 129 times | Joined on Mar 2010 @ Bavaria, Germany
#1
Hello,

I'm testing the python embedding with PyQt4 but unfortunately the loading in scratchbox fails with a strange message. The same code runs fine on Windows XP.

Code:
Traceback (most recent call last):
  File "/home/gri/web2sms-0.1.1/dist/providers/provider_test.py", line 22, in <module>
    from PyQt4 import QtCore, QtGui
ImportError: /usr/lib/python2.5/site-packages/PyQt4/QtCore.so: undefined symbol: PyProperty_Type
Google only finds one debian bugreport related to this. But there's no answer

So maybe someone here knows why this error happens.

C++ source of python initialization
Source of python script