system-config-printer.py crashed with KeyError in display_auth_info_dialog(): 'auth-info-required'

Bug #1380514 reported by Anton Skorokhod
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Medium
Till Kamppeter
Utopic
Fix Released
Medium
Unassigned

Bug Description

Just crash after click on authenticate in printer jobs list

[Impact]

The functionality of authenticating jobs in the queue is not available due to this bug.

[Test case]

Print a job to a queue which requires authentication. Then call the job viewer and try to authenticate the waiting job. The jobviewer will crash.

The proposed package prevents this crash allowing to authenticate the job.

[Regression Potential]

Very low, as the patch is trivial.

ProblemType: Crash
DistroRelease: Ubuntu 14.10
Package: system-config-printer-gnome 1.5.1+20141010-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-21.28-generic 3.16.4
Uname: Linux 3.16.0-21-generic x86_64
ApportVersion: 2.14.7-0ubuntu5
Architecture: amd64
CrashCounter: 1
CurrentDesktop: Unity
Date: Mon Oct 13 10:22:19 2014
EcryptfsInUse: Yes
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InstallationDate: Installed on 2014-10-09 (4 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20141006)
InterpreterPath: /usr/bin/python3.4
Lpstat: device for KONICA-MINOLTA-C250: sqport:/10.245.0.163:9100/secure
MachineType: LENOVO 20AQ000SMC
PackageArchitecture: all
Papersize: a4
PpdFiles: KONICA-MINOLTA-C250: KONICA MINOLTA C250 PS(P)
ProcCmdline: /usr/bin/python3 /usr/share/system-config-printer/system-config-printer.py --show-jobs KONICA-MINOLTA-C250
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-21-generic root=UUID=8741bdf0-f360-4c3e-9f5f-aac72c37ff00 ro quiet splash vt.handoff=7
PythonArgs: ['/usr/share/system-config-printer/system-config-printer.py', '--show-jobs', 'KONICA-MINOLTA-C250']
SourcePackage: system-config-printer
Title: system-config-printer.py crashed with KeyError in display_auth_info_dialog(): 'auth-info-required'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 08/02/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: GJET33WW (1.09 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20AQ000SMC
dmi.board.vendor: LENOVO
dmi.board.version: Win8 Pro DPK TPG
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrGJET33WW(1.09):bd08/02/2013:svnLENOVO:pn20AQ000SMC:pvrThinkPadT440s:rvnLENOVO:rn20AQ000SMC:rvrWin8ProDPKTPG:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 20AQ000SMC
dmi.product.version: ThinkPad T440s
dmi.sys.vendor: LENOVO

Revision history for this message
Anton Skorokhod (kanocz) wrote :
tags: removed: need-duplicate-check
Changed in system-config-printer (Ubuntu):
importance: Undecided → Medium
information type: Private → Public
Changed in system-config-printer (Ubuntu):
assignee: nobody → Till Kamppeter (till-kamppeter)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Tim, do you have any idea what is going on here?

Revision history for this message
Tim Waugh (twaugh) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Should be fixed in system-config-printer 1.5.3+20141029-0ubuntu1.

Changed in system-config-printer (Ubuntu):
status: New → Fix Released
Changed in system-config-printer (Ubuntu Utopic):
status: New → Triaged
importance: Undecided → Medium
description: updated
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Uploaded a package fixing bug 1366756, bug 1156398, bug 1380514, and bug 1369789 to utopic-proposed. As soon as the package is approved it will be available for download and testing and instructions will get posted here. Please test the package and give your feedback here, otherwise it will not get available as official update.

To the SRU team: debdiff attached.

Changed in system-config-printer (Ubuntu Utopic):
status: Triaged → In Progress
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Anton, or anyone else affected,

Accepted system-config-printer into utopic-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/system-config-printer/1.5.1+20141010-0ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in system-config-printer (Ubuntu Utopic):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Sebastien Bacher (seb128) wrote :

could somebody verify that this stable update fixes the issue?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Anton Skorokhod, and anyone else having this problem, can you please test the proposed package. Thanks.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

First the patch is a trivial, one-line fix and second, I am using the fixed Utopic package on my Utopic and Trusty machines already for several weeks without sign of a regression. Therefore I am marking this fix as verified.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Anton Skorokhod (kanocz) wrote :

Tested, works as expected. Thank you

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-printer - 1.5.1+20141010-0ubuntu2.1

---------------
system-config-printer (1.5.1+20141010-0ubuntu2.1) utopic-proposed; urgency=medium

  * debian/patches/60_newprinter-fix-package-installation.patch: Fixed several
    bugs in system-config-printers's facility to install missing packages of
    the printing stack (currently smbclient and libsane-hpaio. LP: #1366756).
  * debian/patches/63_ppdcache-return-exception-rather-than-looping.patch:
    Fixed infinite loop generating millions of links in /tmp when PPD file
    requested from a print queue is not readable (LP: #1156398).
  * debian/patches/65_fix-hp-fax-type-parsing.patch: Fix parsing of the HPLIP
    fax type (LP: #1369789).
  * debian/patches/67_jobviewer-always-fetch-auth-info-required-attribute.patch:
    jobviewer: Always fetch auth-info-required attribute (LP: #1380514).
 -- Till Kamppeter <email address hidden> Thu, 30 Oct 2014 18:21:36 +0100

Changed in system-config-printer (Ubuntu Utopic):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for system-config-printer has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.