Comment 0 for bug 1018989

Revision history for this message
Darshit Shah (darnirspam) wrote :

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/awn/extras/awnlib.py", line 1462, in init_start
    applet_class(applet)
  File "/usr/share/avant-window-navigator/applets/battery/battery.py", line 86, in __init__
    self.check_status_cb()
  File "/usr/share/avant-window-navigator/applets/battery/battery.py", line 237, in check_status_cb
    time = self.backend.get_charge_time()
  File "/usr/share/avant-window-navigator/applets/battery/battery.py", line 455, in get_charge_time
    return super(UPowerBackend, self).get_charge_time()
TypeError: must be type, not classobj

Distribution: Arch Linux
Kernel: 3.4.42
Installed from AUR
Window Manager: xfwm4
applet version: 0.4.0

There was a similar bug to this on luanchpad, but it was claimed to be fixed 2 years ago. So reporting it again.
AWM was working perfectly and I made no changes to it. But suddenly after a system reboot, the battery applet started crashing.
I have no idea how to reproduce this bug.