TypeError in Battery Status: must be type, not classobj
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Awn Extras |
New
|
Undecided
|
Unassigned |
Bug Description
Traceback (most recent call last):
File "/usr/lib/
applet_
File "/usr/share/
self.
File "/usr/share/
time = self.backend.
File "/usr/share/
return super(UPowerBac
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.
UPDATE: Simply killing and restarting X server solved the problem. I don't think this is can be reproduced.
description: | updated |
Gettings this typeError as well.
Here is the traceback
Traceback (most recent call last): python2. 7/site- packages/ awn/extras/ awnlib. py", line 1462, in init_start class(applet) avant-window- navigator/ applets/ battery/ battery. py", line 86, in __init__ check_status_ cb() avant-window- navigator/ applets/ battery/ battery. py", line 237, in check_status_cb get_charge_ time() avant-window- navigator/ applets/ battery/ battery. py", line 455, in get_charge_time kend, self).get_ charge_ time()
File "/usr/lib/
applet_
File "/usr/share/
self.
File "/usr/share/
time = self.backend.
File "/usr/share/
return super(UPowerBac
TypeError: must be type, not classobj
Kernel: 3.7.5-1-ARCH x86_64