scp-dbus-service.py crashed with KeyError in _set_job_document_text(): 14

Bug #748366 reported by Michael Boyd
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: system-config-printer

finished printing and error message came up
Ubuntu 11.04 - the Natty Narwhal

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: system-config-printer-common 1.3.1+20110222-0ubuntu12
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
Date: Sat Apr 2 11:31:34 2011
ExecutablePath: /usr/share/system-config-printer/scp-dbus-service.py
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110302)
InterpreterPath: /usr/bin/python2.7
Lpstat: device for Dell1320-C: socket://192.168.1.9:9100
Lsusb:
 Bus 003 Device 002: ID 046d:c51b Logitech, Inc. V220 Cordless Optical Mouse for Notebooks
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Compaq Evo D510 CMT
Papersize: letter
PpdFiles: Dell1320-C: FX DocuPrint C525 A-AP v1.0
ProcCmdline: /usr/bin/python /usr/share/system-config-printer/scp-dbus-service.py
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-7-generic root=UUID=c30b2750-4248-4148-9135-f21237e530a5 ro quiet splash vt.handoff=7
PythonArgs: ['/usr/share/system-config-printer/scp-dbus-service.py']
SourcePackage: system-config-printer
Title: scp-dbus-service.py crashed with KeyError in _set_job_document_text(): 14
Traceback:
 Traceback (most recent call last):
   File "/usr/share/system-config-printer/jobviewer.py", line 2108, in _set_job_document_text
     job = self.jobs[jobid]
 KeyError: 14
UpgradeStatus: Upgraded to natty on 2011-03-31 (2 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/30/2002
dmi.bios.vendor: Compaq
dmi.bios.version: 686O2 v2.20
dmi.board.name: 07E8h
dmi.board.vendor: Compaq
dmi.chassis.asset.tag: rs20786
dmi.chassis.type: 3
dmi.chassis.vendor: Compaq
dmi.modalias: dmi:bvnCompaq:bvr686O2v2.20:bd12/30/2002:svnCompaq:pnEvoD510CMT:pvr:rvnCompaq:rn07E8h:rvr:cvnCompaq:ct3:cvr:
dmi.product.name: Evo D510 CMT
dmi.sys.vendor: Compaq

Revision history for this message
Michael Boyd (mpboyd) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
Tim Waugh (twaugh) wrote :

Maybe fixed by upstream commit 3038c9d.

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

Tim, thanks for the fix, I have applied it in 1.3.1+20110222-0ubuntu14 now.

Changed in system-config-printer (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-printer - 1.3.1+20110222-0ubuntu14

---------------
system-config-printer (1.3.1+20110222-0ubuntu14) natty; urgency=low

  * debian/patches/63_more-error-handling-in-scp-dbus-service.patch:
    More error handling in scp-dbus-service.py (LP: #744783).
  * debian/patches/60_ensure-consistency-in-jobviewer-if-add-job-fails.patc:
    Ensure consistency in jobviewer if add-job fails (LP: #748366, Red Hat
    bugs #693055 and #632551).
  * debian/patches/57_make-sure-everything-is-ready-before-handlers-might-be-called.patch:
    Make sure everything is ready before handlers might be called.
    The NPTNetworkHostname entry widget seems to be emitting 'changed'
    (and the handler is called) immediately as it is initialised to the
    empty string. Make sure our handler is ready for that (LP: #749762,
    Red Hat bug #689336).
 -- Till Kamppeter <email address hidden> Wed, 13 Apr 2011 12:55:00 +0100

Changed in system-config-printer (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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