[Oneiric] the PyQt4.QtCore module is version 1 but the PyKDE4.kdeui module requires version -1

Bug #826321 reported by Dave Gilbert
244
This bug affects 24 people
Affects Status Importance Assigned to Milestone
pykde4 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Running various Python based apps is giving me the error:

the PyQt4.QtCore module is version 1 but the PyKDE4.kdeui module requires version -1 (in the case of lp-shell)

or

the PyQt4.QtCore module is version 1 but the PyKDE4.kdecore module requires version -1 (in the case of ubuntu-bug)

ii python-minimal 2.7.2-5ubuntu1 minimal subset of the Python language (default version)
ii python-qt4 4.8.5-0ubuntu1 Python bindings for Qt4
ii python-kde4 4:4.7.0-0ubuntu2 Python bindings for the KDE Development Platform
ii apport 1.21.2-0ubuntu13 automatically generate crash reports for debugging
ii ubuntu-dev-tools 0.127 useful tools for Ubuntu developers

The full error from lp-shell is:

Traceback (most recent call last):
  File "/usr/bin/lp-shell", line 86, in <module>
    main()
  File "/usr/bin/lp-shell", line 60, in main
    version=api_version)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 539, in login_with
    credential_save_failed, version)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 342, in _authorize_token_and_login
    authorization_engine.unique_consumer_id)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 273, in load
    return self.do_load(unique_key)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 318, in do_load
    self._ensure_keyring_imported()
  File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 308, in _ensure_keyring_imported
    import keyring
  File "/usr/lib/python2.7/dist-packages/keyring/__init__.py", line 9, in <module>
    from core import set_keyring, get_keyring, set_password, get_password
  File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 12, in <module>
    from keyring import backend
  File "/usr/lib/python2.7/dist-packages/keyring/backend.py", line 199, in <module>
    from PyKDE4.kdeui import KWallet
RuntimeError: the PyQt4.QtCore module is version 1 but the PyKDE4.kdeui module requires version -1

The full error from ubuntu-bug is:

Traceback (most recent call last):
  File "/usr/share/apport/apport-kde", line 27, in <module>
    from PyKDE4.kdecore import (ki18n, KAboutData, KCmdLineArgs,
RuntimeError: the PyQt4.QtCore module is version 1 but the PyKDE4.kdecore module requires version -1

This is 64bit Oneiric (upgraded from Natty).

Dave

Changed in pykde4 (Ubuntu):
status: New → Confirmed
Felix Geyer (debfx)
Changed in pykde4 (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pykde4 - 4:4.7.0-0ubuntu3

---------------
pykde4 (4:4.7.0-0ubuntu3) oneiric; urgency=low

  * No change rebuild against new PyQt (LP: #826321)
 -- Philip Muskovac <email address hidden> Sun, 14 Aug 2011 16:54:58 +0200

Changed in pykde4 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.