[Bug 1438698] Re: [packaging?] apport-kde depends on python3-pykde4, but it seems trying to import it's python2.7 version(Error: No module named PyKDE4.kdecore)

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 13:14:16 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

** Changed in: apport (Ubuntu)
       Status: New => Incomplete

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

Title:
  [packaging?] apport-kde depends on python3-pykde4, but it seems trying
  to import it's python2.7 version(Error: No module named
  PyKDE4.kdecore)

Status in apport package in Ubuntu:
  Incomplete

Bug description:
  Hi when I tried to run python /usr/share/apport/apport-kde 1438689 it fails with the following message:
  ```
  ...
  import PyQt4.uic.Compiler.qobjectcreator # precompiled from /usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler/qobjectcreator.pyc
  ERROR: Could not import module, is a package upgrade in progress?  Error: No module named PyKDE4.kdecore
  ```

  It seems that apport-kde tries to import python2 version's
  pykde4.kdecore but failed because the package actually depends on
  python3 version.  After I install python-kde4 package the error
  vanishes.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: apport-kde 2.14.1-0ubuntu3.8
  ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
  Uname: Linux 3.13.0-39-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.8
  Architecture: i386
  CurrentDesktop: KDE
  Date: Tue Mar 31 21:38:17 2015
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list