systemsettings crashed with AttributeError in maintenance_command() after "clean printer heads" button is pressed

Bug #436392 reported by Karl.Rottmann
206
This bug affects 30 people
Affects Status Importance Assigned to Milestone
kdeadmin (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

kubuntu 9.10 a5

ProblemType: Crash
Architecture: amd64
Date: Fri Sep 25 07:26:15 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/systemsettings
NonfreeKernelModules: nvidia
Package: systemsettings 4:4.3.1-0ubuntu8
ProcCmdline: /usr/bin/systemsettings -caption System\ Settings -icon preferences-system
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.35-generic
SourcePackage: kdebase-workspace
Title: systemsettings crashed with AttributeError in maintenance_command()
Uname: Linux 2.6.31-10-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare users

Revision history for this message
Karl.Rottmann (karl-rottmann) wrote :
tags: removed: need-duplicate-check
visibility: private → public
affects: ubuntu → kdebase-workspace (Ubuntu)
affects: kdebase-workspace (Ubuntu) → kdeadmin (Ubuntu)
Changed in kdeadmin (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
summary: systemsettings crashed with AttributeError in maintenance_command()
+ after "clean printer heads" button is pressed
Revision history for this message
Matthew Lange (matthewlange) wrote :

Applies also to the "Print Test Page" button.

Revision history for this message
Antonio Marcos (acneri) wrote :

I don t know what happened. I was configuring the printer and the message appeared.

Revision history for this message
Xwarman (xwarman) wrote :

same error appears in lucid with canon ip 4000

Revision history for this message
CTW (ctw) wrote :

Same error appears with 12.04 beta 2.

Revision history for this message
Bug Reporter 11 (bugreporter11) wrote :

same error with CUPS PDF when clicking the "Print Test Page" button.

Revision history for this message
Phil Longstaff (phil-longstaff) wrote :

Happened with Print Test Page on 12.04. Brother HL-3045CN (network printer)

Revision history for this message
Marro Real (realyvazquez) wrote :

When the "print test page" button was pressed
OKI B410B printer connected locally to another CPU.
 kubuntu 12.04

Revision history for this message
Nicholas Kerr (nick-kerr) wrote :

Happened with Print Test Page on Samsung CLP325 (USB).

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.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "partial workaround, prevents crash on SelfTest and CleanHeads" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.