guidance power manager crashes on startup

Bug #204833 reported by Swistak
4
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: kde-guidance-powermanager

After upgrading kde-guidance-powermanager to 0.8.0svn20080103-0ubuntu7 I get:

[swistak 21:57 ~]$ guidance-power-manager
[swistak 21:59 ~]$ Traceback (most recent call last):
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manag
er.py", line 1120, in <module>
    mainWindow = PowermanagerApp(None, "main window")
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manag
er.py", line 1057, in __init__
    self.pmwidget = PowerManager(self,name)
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manag
er.py", line 96, in __init__
    self.powermanager = PowerManage()
  File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", lin
e 107, in __init__
    self._checkSuspend()
  File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", lin
e 253, in _checkSuspend
    self.canSuspend = properties["power_management.can_suspend_to_ram"]
KeyError: 'power_management.can_suspend_to_ram'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 42, in app
ort_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-manag
er.py", line 1120, in <module>
    mainWindow = PowermanagerApp(None, "main window")
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manag
er.py", line 1057, in __init__
    self.pmwidget = PowerManager(self,name)
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manag
er.py", line 96, in __init__
    self.powermanager = PowerManage()
  File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", lin
e 107, in __init__
    self._checkSuspend()
  File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", lin
e 253, in _checkSuspend
    self.canSuspend = properties["power_management.can_suspend_to_ram"]
KeyError: 'power_management.can_suspend_to_ram'

My hardware is HP nx6310

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 204768, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.