[Bug 436392] Re: systemsettings crashed with AttributeError in maintenance_command() after "clean printer heads" button is pressed
Bjoern Kahl
diverse.logins at bjoern-kahl.de
Wed Jan 2 13:46:20 UTC 2013
Still unresolved, happens with fully up-to-date Ubuntu-Precise on x86_64
Looking at the code, the problem seems that the code in function
"maintenance_command" in file /usr/share/kde4/apps/system-config-
printer-kde/system-config-printer-kde.py, is out-of-sync with the user
interface description in file /usr/share/kde4/apps/system-config-
printer-kde/system-config-printer.ui.
The code in "maintenance_command" tries to style a non-existent label
"lblInfo" and then to show a non-existent dialog "InfoDialog" with both
do not exists in the loaded user interface file.
A work-around is to comment the offending code, but of course that is
not a real solution. The real solution would, to figure out why and
when application code and UI description diverted and to build a new,
consistent version of both.
Note:
There are many references to an "InfoDialog" or an "ErrorDialog" throughout the code, typically in the "except" part of "try ... except" blocks. A few places use "KMessageBox.information(...)" instead, which seems to work.
** Patch added: "partial workaround, prevents crash on SelfTest and CleanHeads"
https://bugs.launchpad.net/ubuntu/+source/kdeadmin/+bug/436392/+attachment/3472559/+files/printer-config-crash-partial-workaround.patch
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdeadmin in Ubuntu.
https://bugs.launchpad.net/bugs/436392
Title:
systemsettings crashed with AttributeError in maintenance_command()
after "clean printer heads" button is pressed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kdeadmin/+bug/436392/+subscriptions
More information about the kubuntu-bugs
mailing list