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

Dave Gilbert ubuntu at treblig.org
Sun Aug 14 14:34:44 UTC 2011


Public bug reported:

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

** Affects: pykde4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to pykde4 in Ubuntu.
https://bugs.launchpad.net/bugs/826321

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pykde4/+bug/826321/+subscriptions




More information about the kubuntu-bugs mailing list