Comment 10 for bug 436392

Revision history for this message
Bjoern Kahl (bjokash) wrote :

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.