Comment 17 for bug 645462

Revision history for this message
Stephen Geldersma (stepheng) wrote :

'Type error in battery status' for me as well - laptop battery is pulled out with AC power adapter connected. Error at login when computer boots and loads AWN battery application.

Ubuntu 10.10 | x64 | kernel 2.6.35-27
-----------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 1580, in init_start
    applet_class(applet)
  File "/usr/share/avant-window-navigator/applets/battery/battery.py", line 79, in __init__
    self.setup_context_menu()
  File "/usr/share/avant-window-navigator/applets/battery/battery.py", line 169, in setup_context_menu
    self.applet.settings.load_bindings(binder)
  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 839, in load_bindings
    return self.__client.load_bindings(object)
  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 926, in load_bindings
    self.__config_object = binder.create_gobject()
  File "/usr/lib/pymodules/python2.6/awn/extras/configbinder.py", line 84, in create_gobject
    return ConfigGObject()
  File "/usr/lib/pymodules/python2.6/awn/extras/configbinder.py", line 76, in __init__
    bind_property(client, group, key, self, name, widget, *data[1], **data[2])
  File "/usr/lib/pymodules/python2.6/awn/extras/configbinder.py", line 256, in bind_property
    set_widget_value(widget, value)
  File "/usr/lib/pymodules/python2.6/awn/extras/configbinder.py", line 146, in set_widget_value
    widget.set_active(value)
TypeError: an integer is required