Cancel button in kde-guidance-powermanager doesn't do anything
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
kde-guidance (Ubuntu) |
Fix Released
|
Medium
|
Scott Kitterman |
Bug Description
Binary package hint: kde-guidance
The "Cancel" button doesn't exit the window in the Power Manager window, when started from the command line this is the output:
python /usr/share/
Warning: in getBrightness(): org.freedesktop
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
if level == self.getBrightn
File "/usr/share/
return self.old_b
AttributeError: PowerManage instance has no attribute 'old_b'
Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/
binary = os.path.
IndexError: list index out of range
Original exception was:
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
if level == self.getBrightn
File "/usr/share/
return self.old_b
AttributeError: PowerManage instance has no attribute 'old_b'
-- Pressed "Cancel" here --
Warning: in getBrightness(): org.freedesktop
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
if level == self.getBrightn
File "/usr/share/
return self.old_b
AttributeError: PowerManage instance has no attribute 'old_b'
Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/
binary = os.path.
IndexError: list index out of range
Original exception was:
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
if level == self.getBrightn
File "/usr/share/
return self.old_b
AttributeError: PowerManage instance has no attribute 'old_b'
This is on Hardy:
kde-guidance-
Installed: 0.8.0svn2008010
Related branches
description: | updated |
Changed in hal (Ubuntu): | |
status: | Confirmed → Fix Released |
This appears to be a two part problem:
1. HAL doesn't let guidance- powermanager have access to the required device:
Warning: in getBrightness(): org.freedesktop .Hal.Device. PermissionDenie dByPolicy: org.freedesktop .hal.power- management. lcd-panel no <-- (action, result)
2. guidance- powermanager then crashes because it doesn't have an old brightness value:
File "/usr/share/ python- support/ kde-guidance- powermanager/ powermanage. py", line 287, in getBrightness
return self.old_b
AttributeError: PowerManage instance has no attribute 'old_b'