Public bug reported: 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) ** Affects: apport (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 packaging third-party-packages trusty ** Description changed: - Hi when I tried to ran python /usr/share/apport/apport-kde 1438689 it fails with the following message: + 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) -- You received this bug notification because you are a member of Desktop Packages, 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: New 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp