Public bug reported:

The following python command:

    from PyKDE4 import kdecore

yields:

    ImportError: No module named kdecore

even though it is installed on my system:

    $ locate kdecore.so
    /usr/lib/pyshared/python2.6/PyKDE4/kdecore.so
    /usr/lib/pyshared/python2.7/PyKDE4/kdecore.so
    /usr/lib/python2.6/dist-packages/PyKDE4/kdecore.so
    /usr/lib/python2.7/dist-packages/PyKDE4/kdecore.so

I think it may be the case that the python import routine is finding
/usr/lib/pymodules/python2.7/PyKDE4 early in the search path, but that
location only contains the plasmascript.py module. This is a pretty
significant bug, it breaks the apport-bug reporting program (which calls
apport-kde, which attempts to import kdecore).

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python-kde4 4:4.7.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
Uname: Linux 3.0.0-7-generic x86_64
Architecture: amd64
Date: Mon Aug  1 09:10:15 2011
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LANGUAGE=
SourcePackage: pykde4
UpgradeStatus: Upgraded to oneiric on 2011-05-29 (64 days ago)

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


** Tags: amd64 apport-bug oneiric

-- 
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/819291

Title:
  PyKDE4 imports broken

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

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to