Public bug reported:

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/python-support/kde-guidance-powermanager/guidance-power-manager.py
Warning: in getBrightness():  
org.freedesktop.Hal.Device.PermissionDeniedByPolicy: 
org.freedesktop.hal.power-management.lcd-panel no <-- (action, result)
Traceback (most recent call last):
  File 
"/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py",
 line 876, in changePoweredBrightness
    self.powermanager.adjustBrightness(level)
  File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", 
line 296, in adjustBrightness
    if level == self.getBrightness():
  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'
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 876, in changePoweredBrightness
    self.powermanager.adjustBrightness(level)
  File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", 
line 296, in adjustBrightness
    if level == self.getBrightness():
  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'

-- Pressed "Cancel" here --

Warning: in getBrightness():  
org.freedesktop.Hal.Device.PermissionDeniedByPolicy: 
org.freedesktop.hal.power-management.lcd-panel no <-- (action, result)
Traceback (most recent call last):
  File 
"/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py",
 line 1092, in slotCancel
    self.pmwidget.powermanager.adjustBrightness(level)
  File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", 
line 296, in adjustBrightness
    if level == self.getBrightness():
  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'
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 1092, in slotCancel
    self.pmwidget.powermanager.adjustBrightness(level)
  File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", 
line 296, in adjustBrightness
    if level == self.getBrightness():
  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'

This is on Hardy:
kde-guidance-powermanager:
  Installed: 0.8.0svn20080103-0ubuntu1

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

** Description changed:

  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/python-support/kde-guidance-powermanager/guidance-power-manager.py
  Warning: in getBrightness():  
org.freedesktop.Hal.Device.PermissionDeniedByPolicy: 
org.freedesktop.hal.power-management.lcd-panel no <-- (action, result)
  Traceback (most recent call last):
    File 
"/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py",
 line 876, in changePoweredBrightness
      self.powermanager.adjustBrightness(level)
    File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", 
line 296, in adjustBrightness
      if level == self.getBrightness():
    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'
  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 876, in changePoweredBrightness
      self.powermanager.adjustBrightness(level)
    File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", 
line 296, in adjustBrightness
      if level == self.getBrightness():
    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'
  
  -- Pressed "Cancel" here --
  
  Warning: in getBrightness():  
org.freedesktop.Hal.Device.PermissionDeniedByPolicy: 
org.freedesktop.hal.power-management.lcd-panel no <-- (action, result)
  Traceback (most recent call last):
    File 
"/usr/share/python-support/kde-guidance-powermanager/guidance-power-manager.py",
 line 1092, in slotCancel
      self.pmwidget.powermanager.adjustBrightness(level)
    File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", 
line 296, in adjustBrightness
      if level == self.getBrightness():
    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'
  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 1092, in slotCancel
      self.pmwidget.powermanager.adjustBrightness(level)
    File "/usr/share/python-support/kde-guidance-powermanager/powermanage.py", 
line 296, in adjustBrightness
      if level == self.getBrightness():
    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'
+ 
+ This is on Hardy:
+ kde-guidance-powermanager:
+   Installed: 0.8.0svn20080103-0ubuntu1

-- 
Cancel button in kde-guidance-powermanager doesn't do anything
https://bugs.launchpad.net/bugs/183656
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to