[Bug 138952] guidance-power-manager fails when not running under kde

Klaus S. Madsen ubuntu at hjernemadsen.org
Tue Sep 11 18:29:12 UTC 2007


Public bug reported:

Binary package hint: kde-guidance-powermanager

When running guidance-power-manager outside of KDE, the hibernate and
suspend buttons does not work, if Lock Screen on Resume is enabled.

The following is output to the console, when clicked:

  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py", line 487, in suspend
    self.lockScreen()
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py", line 482, in lockScreen
    ok, foo = kdesktop.KScreensaverIface.lock()
  File "/usr/lib/python2.5/site-packages/dcopext.py", line 535, in __getattr__
    return DCOPMeth(self, item)
  File "/usr/lib/python2.5/site-packages/dcopext.py", line 578, in __init__
    self.methods  = [str(meth) for meth in dcopObj.objmethods]
TypeError: 'NoneType' object is not iterable
Error in sys.excepthook:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/apport_python_hook.py", line 42, in apport_excepthook
    binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
IndexError: list index out of range

Original exception was:
Traceback (most recent call last):
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py", line 487, in suspend
    self.lockScreen()
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py", line 482, in lockScreen
    ok, foo = kdesktop.KScreensaverIface.lock()
  File "/usr/lib/python2.5/site-packages/dcopext.py", line 535, in __getattr__
    return DCOPMeth(self, item)
  File "/usr/lib/python2.5/site-packages/dcopext.py", line 578, in __init__
    self.methods  = [str(meth) for meth in dcopObj.objmethods]
TypeError: 'NoneType' object is not iterable

I'm running Gutsy with kde-guidance-powermanager version
0.8.0svn20070727-0ubuntu6

** Affects: kde-guidance (Ubuntu)
     Importance: Undecided
         Status: New

-- 
guidance-power-manager fails when not running under kde
https://bugs.launchpad.net/bugs/138952
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kde-guidance in ubuntu.




More information about the kubuntu-bugs mailing list