[PyKDE] seg fault using pyqt

Nicholas Priborsky nicholas.priborsky at dlr.de
Mon Feb 10 14:50:00 GMT 2003


I am having troubles getting PyQt 3.5 to work.I'm running SuSE 8.0 with 
gcc 2.95.3, sip 3.5, qt 3.1.1, python 2.2.2. I built python, sip and 
pyqt from scratch the usual way and everything compiled ok (for lib 
qt-mt). Unfortunately I always get a segmentation fault when running any 
of the examples contained in the examples3 directory of the pyqt 

python -d -v tut1.py
# /usr/local/lib/python2.2/site.pyc matches /usr/local/lib/python2.2/site.py
import site # precompiled from /usr/local/lib/python2.2/site.pyc
# /usr/local/lib/python2.2/os.pyc matches /usr/local/lib/python2.2/os.py
import os # precompiled from /usr/local/lib/python2.2/os.pyc
import posix # builtin
# /usr/local/lib/python2.2/posixpath.pyc matches 
import posixpath # precompiled from /usr/local/lib/python2.2/posixpath.pyc
# /usr/local/lib/python2.2/stat.pyc matches /usr/local/lib/python2.2/stat.py
import stat # precompiled from /usr/local/lib/python2.2/stat.pyc
# /usr/local/lib/python2.2/UserDict.pyc matches 
import UserDict # precompiled from /usr/local/lib/python2.2/UserDict.pyc
# /usr/local/lib/python2.2/copy_reg.pyc matches 
import copy_reg # precompiled from /usr/local/lib/python2.2/copy_reg.pyc
# /usr/local/lib/python2.2/types.pyc matches 
import types # precompiled from /usr/local/lib/python2.2/types.pyc
# /usr/local/lib/python2.2/__future__.pyc matches 
import __future__ # precompiled from /usr/local/lib/python2.2/__future__.pyc
Python 2.2.2 (#1, Feb  7 2003, 09:52:39)
[GCC 2.95.3 20010315 (SuSE)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
# /usr/local/lib/python2.2/site-packages/qt.pyc matches 
import qt # precompiled from /usr/local/lib/python2.2/site-packages/qt.pyc
dlopen("/usr/local/lib/python2.2/site-packages/libsip.so", 2);
import libsip # dynamically loaded from 
dlopen("/usr/local/lib/python2.2/site-packages/libqtcmodule.so", 2);
import libqtc # dynamically loaded from 
Segmentation fault

Any help or suggestions would be appreciated

More information about the PyQt mailing list