Bug#647478: python-kde4: RunTimeError when importing PyKDE4.kdeui
Package: python-kde4
Version: 4:4.6.80-3+b1
Severity: important
Dear Maintainer,
I just installed python-kde4 to test a package, and I got this error:
$ python
Python 2.7.2+ (default, Oct 4 2011, 15:44:37)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyKDE4.kdeui
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: the PyQt4.QtCore module is version 1 but the PyKDE4.kdeui module requires version -1
>>>
Note that after this error, I can re-import the module, without any
error this time, and it seems I can access the content:
>>> dir(PyKDE4.kdeui)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'PyKDE4' is not defined
>>> PyKDE4.kdeui
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'PyKDE4' is not defined
>>> import PyKDE4.kdeui
>>> dir(PyKDE4.kdeui)
['BarIcon', 'BarIconSet', 'DesktopIcon', 'DesktopIconSet',
'MainBarIcon', 'MainBarIconSet', 'SmallIcon', 'SmallIconSet',
'UserIcon', 'UserIconSet', '__doc__', '__name__', '__package__',
'qHash']
>>> PyKDE4.kdeui
<module 'PyKDE4.kdeui' (built-in)>
>>>
I'm interested into the KWallet package, which is supposed to be in
PyKDE4.kdeui, but I can't import it though (I don't know if it's
connected to the error above or not, though).
Ubuntu has a related bug at
https://bugs.launchpad.net/ubuntu/+source/pykde4/+bug/826321
Thanks,
Jonathan
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.0.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-kde4 depends on:
ii kdebase-runtime 4:4.6.5-1+b1
ii kdepim-runtime 4:4.4.11.1-2
ii libakonadi-kde4 4:4.6.5-1
ii libakonadi-kmime4 4:4.6.5-1
ii libc6 2.13-21
ii libkcmutils4 4:4.6.5-2+b1
ii libkdecore5 4:4.6.5-2+b1
ii libkdeui5 4:4.6.5-2+b1
ii libkdnssd4 4:4.6.5-2+b1
ii libkemoticons4 4:4.6.5-2+b1
ii libkfile4 4:4.6.5-2+b1
ii libkhtml5 4:4.6.5-2+b1
ii libkidletime4 4:4.6.5-2+b1
ii libkio5 4:4.6.5-2+b1
ii libknewstuff2-4 4:4.6.5-2+b1
ii libknewstuff3-4 4:4.6.5-2+b1
ii libkparts4 4:4.6.5-2+b1
ii libkprintutils4 4:4.6.5-2+b1
ii libkpty4 4:4.6.5-2+b1
ii libktexteditor4 4:4.6.5-2+b1
ii libnepomuk4 4:4.6.5-2+b1
ii libnepomukquery4a 4:4.6.5-2+b1
ii libphonon4 4:4.6.0really4.5.0-5
ii libplasma3 4:4.6.5-2+b1
ii libpython2.7 2.7.2-6
ii libqt4-network 4:4.7.3-8
ii libqt4-svg 4:4.7.3-8
ii libqt4-xml 4:4.7.3-8
ii libqtcore4 4:4.7.3-8
ii libqtgui4 4:4.7.3-8
ii libsolid4 4:4.6.5-2+b1
ii libsoprano4 2.6.0+dfsg.1-4
ii libstdc++6 4.6.2-3
ii phonon 4:4.6.0really4.5.0-5
ii python 2.7.2-9
ii python-qt4 4.8.6-1
ii python-sip [sip-api-8.1] 4.13-1
ii python2.6 2.6.7-4
ii python2.7 2.7.2-6
python-kde4 recommends no packages.
Versions of packages python-kde4 suggests:
pn libpython2.6 <none>
-- no debconf information
Reply to: