zz-plasma-remove-network-manager.py crashed with ImportError in <module>()

Bug #446180 reported by Lucifer
362
This bug affects 58 people
Affects Status Importance Assigned to Milestone
kdebase-workspace (Ubuntu)
Fix Released
High
Unassigned
Karmic
Fix Released
High
Scott Kitterman
Lucid
Fix Released
High
Unassigned

Bug Description

zz-plasma-remove-network-manager.py crashed with ImportError in <module>()

ProblemType: Crash
Architecture: i386
Date: Thu Oct 8 11:36:43 2009
Dependencies:

DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/kde4/apps/kconf_update/zz-plasma-remove-network-manager.py
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: kdebase-workspace-data 4:4.3.2-0ubuntu1
PackageArchitecture: all
ProcCmdline: python /usr/share/kde4/apps/kconf_update/zz-plasma-remove-network-manager.py
ProcEnviron:
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-12.41-generic
PythonArgs: ['/usr/share/kde4/apps/kconf_update/zz-plasma-remove-network-manager.py']
SourcePackage: kdebase-workspace
Title: zz-plasma-remove-network-manager.py crashed with ImportError in <module>()
Traceback:
 Traceback (most recent call last):
   File "/usr/share/kde4/apps/kconf_update/zz-plasma-remove-network-manager.py", line 13, in <module>
     from PyKDE4.kdecore import KSharedConfig, KAboutData, ki18n, KCmdLineArgs
 ImportError: No module named PyKDE4.kdecore
Uname: Linux 2.6.31-12-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

TEST CASE:

On a non-KDE system, install kdebase-workspace-data. Excecute:

/usr/share/kde4/apps/kconf_update/zz-plasma-remove-network-manager.py
(note, this will have no effect on a Karmic system, it was only used to remove an un-needed plasma widget on upgrades from Jaunty)

See the crash:

Traceback (most recent call last):
  File "/usr/share/kde4/apps/kconf_update/zz-plasma-remove-network-manager.py", line 13, in <module>
    from PyKDE4.kdecore import KSharedConfig, KAboutData, ki18n, KCmdLineArgs
ImportError: No module named PyKDE4.kdecore

Install the updated package and run the script again. See that there is not a crash. You might get no output or something like:

No protocol specified
zz-plasma-remove-network-manager.py: cannot connect to X server :0

if testing in an X windows less chroot.

Revision history for this message
Lucifer (massinho-felipe) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Possible regression detected

This crash has the same stack trace characteristics as bug #436864. However, the latter was already fixed in an earlier package version than the one in this report. This might be a regression or because the problem is in a dependent package.

tags: removed: need-duplicate-check
tags: added: regression-retracer
affects: ubuntu → kdebase-workspace (Ubuntu)
visibility: private → public
Revision history for this message
Dave H (dave-hills-2009) wrote :

9.10 Beta + updates to 17/10/09. Lenovo S10E Netbook. Logged off KDE Desktop, logged in Gnome, crash report waiting.

Revision history for this message
ASChandel (khushiyal) wrote :

Installed 9.10 2 days back, and had problems with network manager, so uninstalled and switched to wicd. The crash report was waiting for tonight (last reboot done on Sunday 1-Nov).

Revision history for this message
ASChandel (khushiyal) wrote :

Just one additional comment, like Dave I did switch to KDE to try it out before switching back to Gnome. However, no problems at that point (1-Nov).

Revision history for this message
Scott Kitterman (kitterman) wrote :

Fixed in bzr for lucid.

Changed in kdebase-workspace (Ubuntu Lucid):
importance: Undecided → High
Changed in kdebase-workspace (Ubuntu Karmic):
milestone: none → karmic-updates
importance: Undecided → High
Changed in kdebase-workspace (Ubuntu Lucid):
status: New → Fix Committed
Changed in kdebase-workspace (Ubuntu Karmic):
status: New → In Progress
assignee: nobody → Scott Kitterman (kitterman)
Revision history for this message
Scott Kitterman (kitterman) wrote :

Uploading for SRU even though the fix is not actually in Lucid yet. It's in bzr and will get in with the next kdebase-workspace upload and it's a trivial fix.

description: updated
Revision history for this message
MetalSonic v3 (kidlinux96) wrote : Re: [Bug 446180] Re: zz-plasma-remove-network-manager.py crashed with ImportError in <module>()

On Fri, Nov 6, 2009 at 10:38 AM, Scott Kitterman <email address hidden>wrote:

> Uploading for SRU even though the fix is not actually in Lucid yet.
> It's in bzr and will get in with the next kdebase-workspace upload and
> it's a trivial fix.
>
> +
> + TEST CASE:
> +
> + On a non-KDE system, install kdebase-workspace-data. Excecute:
> +
> + /usr/share/kde4/apps/kconf_update/zz-plasma-remove-network-manager.py
> + (note, this will have no effect on a Karmic system, it was only used to
> remove an un-needed plasma widget on upgrades from Jaunty)
> +
> + See the crash:
> +
> + Traceback (most recent call last):
> + File
> "/usr/share/kde4/apps/kconf_update/zz-plasma-remove-network-manager.py",
> line 13, in <module>
> + from PyKDE4.kdecore import KSharedConfig, KAboutData, ki18n,
> KCmdLineArgs
> + ImportError: No module named PyKDE4.kdecore
> +
> + Install the updated package and run the script again. See that there is
> + not a crash. You might get no output or something like:
> +
> + No protocol specified
> + zz-plasma-remove-network-manager.py: cannot connect to X server :0
> +
> + if testing in an X windows less chroot.
>
> --
> zz-plasma-remove-network-manager.py crashed with ImportError in <module>()
> https://bugs.launchpad.net/bugs/446180
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “kdebase-workspace” package in Ubuntu: Fix Committed
> Status in “kdebase-workspace” source package in Lucid: Fix Committed
> Status in “kdebase-workspace” source package in Karmic: In Progress
>
> Bug description:
> zz-plasma-remove-network-manager.py crashed with ImportError in <module>()
>
> ProblemType: Crash
> Architecture: i386
> Date: Thu Oct 8 11:36:43 2009
> Dependencies:
>
> DistroRelease: Ubuntu 9.10
> ExecutablePath:
> /usr/share/kde4/apps/kconf_update/zz-plasma-remove-network-manager.py
> InterpreterPath: /usr/bin/python2.6
> NonfreeKernelModules: nvidia
> Package: kdebase-workspace-data 4:4.3.2-0ubuntu1
> PackageArchitecture: all
> ProcCmdline: python
> /usr/share/kde4/apps/kconf_update/zz-plasma-remove-network-manager.py
> ProcEnviron:
> LANG=hu_HU.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-12.41-generic
> PythonArgs:
> ['/usr/share/kde4/apps/kconf_update/zz-plasma-remove-network-manager.py']
> SourcePackage: kdebase-workspace
> Title: zz-plasma-remove-network-manager.py crashed with ImportError in
> <module>()
> Traceback:
> Traceback (most recent call last):
> File
> "/usr/share/kde4/apps/kconf_update/zz-plasma-remove-network-manager.py",
> line 13, in <module>
> from PyKDE4.kdecore import KSharedConfig, KAboutData, ki18n,
> KCmdLineArgs
> ImportError: No module named PyKDE4.kdecore
> Uname: Linux 2.6.31-12-generic i686
> UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
>
> Ok. Thanks.

Changed in kdebase-workspace (Ubuntu Lucid):
milestone: none → lucid-alpha-2
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted kdebase-workspace into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in kdebase-workspace (Ubuntu Karmic):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

Tested in a chroot; and can confirm, that the script now runs using the package from karmic-proposed.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdebase-workspace - 4:4.3.2-0ubuntu7.1

---------------
kdebase-workspace (4:4.3.2-0ubuntu7.1) karmic-proposed; urgency=low

  * Add missing depends on python-kde4 (>= 4:4.2.0) to kdebase-workspace-data
    (LP: #446180)
 -- Scott Kitterman <email address hidden> Fri, 06 Nov 2009 10:22:38 -0500

Changed in kdebase-workspace (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied karmic-proposed to lucid.

Changed in kdebase-workspace (Ubuntu Lucid):
status: Fix Committed → Fix Released
Changed in kdebase-workspace (Ubuntu Karmic):
status: Fix Released → Fix Committed
Changed in kdebase-workspace (Ubuntu Lucid):
status: Fix Released → Fix Committed
Changed in kdebase-workspace (Ubuntu Karmic):
status: Fix Committed → Fix Released
tags: added: packaging
Revision history for this message
Steve Langasek (vorlon) wrote :

The package is published to lucid, it has not yet been published to karmic-updates.

Changed in kdebase-workspace (Ubuntu Karmic):
status: Fix Released → Fix Committed
Changed in kdebase-workspace (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdebase-workspace - 4:4.3.2-0ubuntu7.1

---------------
kdebase-workspace (4:4.3.2-0ubuntu7.1) karmic-proposed; urgency=low

  * Add missing depends on python-kde4 (>= 4:4.2.0) to kdebase-workspace-data
    (LP: #446180)
 -- Scott Kitterman <email address hidden> Fri, 06 Nov 2009 10:22:38 -0500

Changed in kdebase-workspace (Ubuntu Karmic):
status: Fix Committed → 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.