[Bug 446180] Re: zz-plasma-remove-network-manager.py crashed with ImportError in <module>()

Scott Kitterman ubuntu at kitterman.com
Fri Nov 6 15:38:58 UTC 2009


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 changed:

  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.

-- 
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 member of Kubuntu
Bugs, which is subscribed to kdebase-workspace in ubuntu.




More information about the kubuntu-bugs mailing list