Hi, > This smells fishy. I would start checking your system for old versions > of sip/PyQt, especially in /usr/lib/python. If this guess doesn't > match, send us the output of:
I did that - I removed all things that appeared to be part of sip and pyqt, and reinstalled the packages. Now all in /usr/lib/python2.3/site-packages is from the same date (2004-05-21) and the libsip is from 2004-04-24. Still the same behaviour :( > > python -vc "import qt" I attached the output - from what I understand, it looks ok. > > These are the various versions of sip/pyqt I tried: > > > > sip-4.0rc3 sip-snapshot-20040329 > > sip-4.0rc4 sip-snapshot-20040501 > > Note that changing sip always implies a PyQt (and dependants) > recompile. Sure - I of course did that. > Good luck, Thanks, but none so far :( Regards, Diez
# installing zipimport hook import zipimport # builtin # installed zipimport hook # /usr/lib/python2.3/site.pyc matches /usr/lib/python2.3/site.py import site # precompiled from /usr/lib/python2.3/site.pyc # /usr/lib/python2.3/os.pyc matches /usr/lib/python2.3/os.py import os # precompiled from /usr/lib/python2.3/os.pyc import posix # builtin # /usr/lib/python2.3/posixpath.pyc matches /usr/lib/python2.3/posixpath.py import posixpath # precompiled from /usr/lib/python2.3/posixpath.pyc # /usr/lib/python2.3/stat.pyc matches /usr/lib/python2.3/stat.py import stat # precompiled from /usr/lib/python2.3/stat.pyc # /usr/lib/python2.3/UserDict.pyc matches /usr/lib/python2.3/UserDict.py import UserDict # precompiled from /usr/lib/python2.3/UserDict.pyc # /usr/lib/python2.3/copy_reg.pyc matches /usr/lib/python2.3/copy_reg.py import copy_reg # precompiled from /usr/lib/python2.3/copy_reg.pyc # /usr/lib/python2.3/types.pyc matches /usr/lib/python2.3/types.py import types # precompiled from /usr/lib/python2.3/types.pyc # /usr/lib/python2.3/warnings.pyc matches /usr/lib/python2.3/warnings.py import warnings # precompiled from /usr/lib/python2.3/warnings.pyc # /usr/lib/python2.3/linecache.pyc matches /usr/lib/python2.3/linecache.py import linecache # precompiled from /usr/lib/python2.3/linecache.pyc import encodings # directory /usr/lib/python2.3/encodings # /usr/lib/python2.3/encodings/__init__.pyc matches /usr/lib/python2.3/encodings/__init__.py import encodings # precompiled from /usr/lib/python2.3/encodings/__init__.pyc # /usr/lib/python2.3/codecs.pyc matches /usr/lib/python2.3/codecs.py import codecs # precompiled from /usr/lib/python2.3/codecs.pyc import _codecs # builtin # /usr/lib/python2.3/encodings/aliases.pyc matches /usr/lib/python2.3/encodings/aliases.py import encodings.aliases # precompiled from /usr/lib/python2.3/encodings/aliases.pyc # /usr/lib/python2.3/encodings/iso8859_15.pyc matches /usr/lib/python2.3/encodings/iso8859_15.py import encodings.iso8859_15 # precompiled from /usr/lib/python2.3/encodings/iso8859_15.pyc Python 2.3.4 (#2, May 29 2004, 03:31:27) [GCC 3.3.3 (Debian 20040417)] on linux2 Type "help", "copyright", "credits" or "license" for more information. # /usr/lib/python2.3/site-packages/qt.pyc matches /usr/lib/python2.3/site-packages/qt.py import qt # precompiled from /usr/lib/python2.3/site-packages/qt.pyc import libsip # dynamically loaded from /usr/lib/python2.3/site-packages/libsip.so import libqtc # dynamically loaded from /usr/lib/python2.3/site-packages/libqtcmodule.so # clear __builtin__._ # clear sys.path # clear sys.argv # clear sys.ps1 # clear sys.ps2 # clear sys.exitfunc # clear sys.exc_type # clear sys.exc_value # clear sys.exc_traceback # clear sys.last_type # clear sys.last_value # clear sys.last_traceback # clear sys.path_hooks # clear sys.path_importer_cache # clear sys.meta_path # restore sys.stdin # restore sys.stdout # restore sys.stderr # cleanup __main__ # cleanup[1] site # cleanup[1] encodings # cleanup[1] _codecs # cleanup[1] zipimport # cleanup[1] warnings # cleanup[1] encodings.iso8859_15 # cleanup[1] types # cleanup[1] qt # cleanup[1] signal # cleanup[1] linecache # cleanup[1] posix # cleanup[1] encodings.aliases # cleanup[1] exceptions # cleanup[1] libqtc # cleanup[1] libsip # cleanup[1] codecs # cleanup[2] copy_reg # cleanup[2] posixpath # cleanup[2] os.path # cleanup[2] stat # cleanup[2] UserDict # cleanup[2] os # cleanup sys # cleanup __builtin__ # cleanup ints: 83 unfreed ints in 6 out of 7 blocks # cleanup floats dlopen("/usr/lib/python2.3/site-packages/libsip.so", 2); dlopen("/usr/lib/python2.3/site-packages/libqtcmodule.so", 2);