[Python-modules-team] Bug#621016: python-qt4: PyQt4 missing many exported symbols

Colin Simmonds colin.simmonds at genband.com
Tue Apr 5 20:32:43 UTC 2011


Subject: python-qt4: PyQt4 missing many exported symbols
Package: python-qt4
Version: 4.8.3-2
Severity: important

This build of PyQt4 is missing many symbols - only what appears to be a few
constants are importable. All of the various classes, for example, are
missing.

$ python
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4.QtGui import QApplication
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name QApplication
>>> from PyQt4 import QtGui
>>> dir(QtGui)
['__doc__', '__file__', '__name__', '__package__', 'qAlpha', 'qBlue',
'qDrawBorderPixmap', 'qDrawPlainRect', 'qDrawShadeLine', 'qDrawShadePanel',
'qDrawShadeRect', 'qDrawWinButton', 'qDrawWinPanel', 'qFuzzyCompare',
'qGray',
'qGreen', 'qIsGray', 'qRed', 'qRgb', 'qRgba', 'qSwap',
'qt_x11_wait_for_window_manager']
>>> from PyQt4 import Qt
>>> dir(Qt)
['QT_TRANSLATE_NOOP', 'QT_TR_NOOP', 'QT_TR_NOOP_UTF8', 'Q_ARG', 'Q_ENUMS',
'Q_FLAGS', 'Q_RETURN_ARG', 'SIGNAL', 'SLOT', '__doc__', '__file__',
'__name__',
'__package__', 'bom', 'center', 'dec', 'endl', 'fixed', 'flush',
'forcepoint',
'forcesign', 'left', 'lowercasebase', 'lowercasedigits', 'noforcepoint',
'noforcesign', 'noshowbase', 'pyqtRemoveInputHook', 'pyqtRestoreInputHook',
'pyqtSignature', 'pyqtSlot', 'qAbs', 'qAddPostRoutine', 'qAlpha', 'qBlue',
'qChecksum', 'qCompress', 'qCritical', 'qDebug', 'qDrawBorderPixmap',
'qDrawPlainRect', 'qDrawShadeLine', 'qDrawShadePanel', 'qDrawShadeRect',
'qDrawWinButton', 'qDrawWinPanel', 'qErrnoWarning', 'qFatal',
'qFuzzyCompare',
'qGray', 'qGreen', 'qInf', 'qInstallMsgHandler', 'qIsFinite', 'qIsGray',
'qIsInf', 'qIsNaN', 'qIsNull', 'qQNaN', 'qRed', 'qRegisterResourceData',
'qRemovePostRoutine', 'qRgb', 'qRgba', 'qRound', 'qRound64', 'qSNaN',
'qSetFieldWidth', 'qSetPadChar', 'qSetRealNumberPrecision', 'qSharedBuild',
'qSwap', 'qUncompress', 'qUnregisterResourceData', 'qVersion', 'qWarning',
'qrand', 'qsrand', 'qt_x11_wait_for_window_manager', 'reset', 'right',
'scientific', 'showbase', 'uppercasebase', 'uppercasedigits', 'ws']



-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-qt4 depends on:
ii  libc6                 2.11.2-11          Embedded GNU C Library:
Shared lib
ii  libgcc1               1:4.5.2-4          GCC support library
ii  libpython2.6          2.6.6-8+b1         Shared Python runtime
library (ver
ii  libqt4-declarative    4:4.7.2-3          Qt 4 Declarative module
ii  libqt4-designer       4:4.7.2-3          Qt 4 designer module
ii  libqt4-help           4:4.7.2-3          Qt 4 help module
ii  libqt4-network        4:4.7.2-3          Qt 4 network module
ii  libqt4-script         4:4.7.2-3          Qt 4 script module
ii  libqt4-scripttools    4:4.7.2-3          Qt 4 script tools module
ii  libqt4-svg            4:4.7.2-3          Qt 4 SVG module
ii  libqt4-test           4:4.7.2-3          Qt 4 test module
ii  libqt4-xml            4:4.7.2-3          Qt 4 XML module
ii  libqt4-xmlpatterns    4:4.7.2-3          Qt 4 XML patterns module
ii  libqtassistantclient4 4.6.3-3            Qt Assistant client library
(runti
ii  libqtcore4            4:4.7.2-3          Qt 4 core module
ii  libqtgui4             4:4.7.2-3          Qt 4 GUI module
ii  libqtwebkit4          2.1.0~2011week09-3 Web content engine library
for Qt
ii  libstdc++6            4.5.2-4            The GNU Standard C++ Library v3
ii  python                2.6.6-12           interactive high-level
object-orie
ii  python-sip [sip-api-8 4.12.1-1           Python/C++ bindings
generator runt
ii  python-support        1.0.11             automated rebuilding
support for P

python-qt4 recommends no packages.

Versions of packages python-qt4 suggests:
pn  python-qt4-dbg                <none>     (no description available)

-- no debconf information






More information about the Python-modules-team mailing list