guidance-power-manager crashes on startup

Bug #177504 reported by Kyle Gordon on 2007-12-19
8
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: kde-guidance-powermanager

Hi,

On Kubuntu Hardy x86, Dell D820 laptop, updated to most recent version, guidance-power-manager crashes every time on startup. This has been happening for several months now.

kyleg@CHLP0023:~$ guidance-power-manager
kyleg@CHLP0023:~$ Traceback (most recent call last):
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py", line 1120, in <module>
    mainWindow = PowermanagerApp(None, "main window")
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py", line 1057, in __init__
    self.pmwidget = PowerManager(self,name)
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py", line 96, in __init__
    self.powermanager = PowerManage()
  File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", line 103, in __init__
    self._initBrightness()
  File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", line 268, in _initBrightness
    self.brightness_levels = self.brightness_properties[u'laptop_panel.num_levels']
KeyError: u'laptop_panel.num_levels'
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 1120, in <module>
    mainWindow = PowermanagerApp(None, "main window")
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py", line 1057, in __init__
    self.pmwidget = PowerManager(self,name)
  File "/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py", line 96, in __init__
    self.powermanager = PowerManage()
  File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", line 103, in __init__
    self._initBrightness()
  File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", line 268, in _initBrightness
    self.brightness_levels = self.brightness_properties[u'laptop_panel.num_levels']
KeyError: u'laptop_panel.num_levels'

Regards

Kyle

I can confirm this on my Latitude D830.

Hirvinen (patrik-hirvinen) wrote :

Duplicate of https://bugs.launchpad.net/ubuntu/+source/kde-guidance/+bug/174574
Identical problem on my Dell Latitude D430.

pauls (paulatgm) wrote :

I'm running alpha 3 updated and have no problem with it crashing on startup. However, I have had it crash once on a resume from suspend.

Hirvinen (patrik-hirvinen) wrote :

Okay, this seems to have gotten fixed in the last updates(2008-01-16/17). Works now.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers