[Bug 99198] kde-guidance-powermanager-0.8.0 fails with AttributeError: 'NoneType' object has no attribute 'setChecked'
Benno Schulenberg
benno at vertaalt.nl
Fri Mar 30 21:46:47 UTC 2007
Public bug reported:
Binary package hint: kde-guidance-powermanager
The update to kde-guidance-powermanager-0.8.0 removed the battery icon
from the system tray (after a restart). Running guidance-power-manager
on the command line produces this:
$ guidance-power-manager
ben at xod:~$ Traceback (most recent call last):
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 1070, in
<module>
mainWindow = PowermanagerApp(None, "main window")
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 1014, in
__init__
self.pmwidget.prepare()
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 116, in
prepare
self.poll(False)
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 663, in poll
self._updateCpuWidgets()
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 826, in
_updateCpuWidgets
self.systray.actionCollection().action(policy).setChecked(True)
AttributeError: 'NoneType' object has no attribute 'setChecked'
Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/apport/python_hook.py", line 44, 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/guidance-power-manager.py", line 1070, in
<module>
mainWindow = PowermanagerApp(None, "main window")
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 1014, in
__init__
self.pmwidget.prepare()
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 116, in
prepare
self.poll(False)
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 663, in poll
self._updateCpuWidgets()
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 826, in
_updateCpuWidgets
self.systray.actionCollection().action(policy).setChecked(True)
AttributeError: 'NoneType' object has no attribute 'setChecked'
The previous version, kde-guidance-powermanager-0.7.1~svn2007025, worked fine, as far as i could tell.
** Affects: kde-guidance (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
kde-guidance-powermanager-0.8.0 fails with AttributeError: 'NoneType' object has no attribute 'setChecked'
https://launchpad.net/bugs/99198
More information about the kubuntu-bugs
mailing list