[Bug 77091] Re: The AC adapter has been unplugged, switching to battery mode

aronchi alessandro.ronchi at gmail.com
Fri Jan 19 00:39:52 UTC 2007


it helps, but I get those errors:

root at abook:/usr/share/python-support/kde-guidance# patch -p0 < g-p-m.diff
patching file guidance-power-manager.py
Hunk #1 succeeded at 401 (offset -192 lines).
Hunk #2 succeeded at 412 with fuzz 1 (offset -194 lines).
root at abook:/usr/share/python-support/kde-guidance# guidance-power-manager
root at abook:/usr/share/python-support/kde-guidance# ERROR: Couldn't attach to DCOP server!
Traceback (most recent call last):
  File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 550, in changePoweredBrightness
    self.powermanager.adjustBrightness(level)
  File "/usr/share/python-support/kde-guidance/powermanage.py", line 255, in adjustBrightness
    if level == self.getBrightness():
  File "/usr/share/python-support/kde-guidance/powermanage.py", line 246, in getBrightness
    b = self.brightnessObject.GetBrightness(dbus_interface="org.freedesktop.Hal.Device.LaptopPanel")
  File "/var/lib/python-support/python2.4/dbus/proxies.py", line 102, in __call__
    reply_message = self._connection.send_with_reply_and_block(message, timeout)
  File "dbus_bindings.pyx", line 455, in dbus_bindings.Connection.send_with_reply_and_block
dbus_bindings.DBusException: An unknown error occured
power-manager: ERROR: Communication problem with power-manager, it probably crashed.

root at abook:/usr/share/python-support/kde-guidance# Traceback (most recent call last):
  File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 412, in poll
    self.powerHasBeenUnplugged()
  File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 566, in powerHasBeenUnplugged
    dbus_interface="org.freedesktop.Hal.Device.LaptopPanel")
  File "/var/lib/python-support/python2.4/dbus/proxies.py", line 102, in __call__
    reply_message = self._connection.send_with_reply_and_block(message, timeout)
  File "dbus_bindings.pyx", line 455, in dbus_bindings.Connection.send_with_reply_and_block
dbus_bindings.DBusException: An unknown error occured

-- 
The AC adapter has been unplugged, switching to battery mode
https://launchpad.net/bugs/77091




More information about the kubuntu-bugs mailing list