Bug 604492

Summary: [abrt] crash in system-config-printer-1.2.2-4.fc13: jobviewer.py:1466:update_status:KeyError: 'job-printer-name'
Product: [Fedora] Fedora Reporter: dlfrancis
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:90637129
Fixed In Version: system-config-printer-1.2.3-3.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-01 18:38:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description dlfrancis 2010-06-16 03:53:38 UTC
abrt 1.1.1 detected a crash.

architecture: i686
cmdline: python /usr/share/system-config-printer/system-config-printer.py --configure-printer psc-1300-series
component: system-config-printer
executable: /usr/share/system-config-printer/system-config-printer.py
kernel: 2.6.33.5-124.fc13.i686.PAE
package: system-config-printer-1.2.2-4.fc13
reason: jobviewer.py:1466:update_status:KeyError: 'job-printer-name'
release: Fedora release 13 (Goddard)

backtrace
-----
jobviewer.py:1466:update_status:KeyError: 'job-printer-name'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/jobviewer.py", line 612, in on_show_completed_jobs_activate
    self.monitor.refresh(which_jobs=which_jobs, refresh_all=False)
  File "/usr/share/system-config-printer/monitor.py", line 587, in refresh
    jobs.copy ())
  File "/usr/share/system-config-printer/jobviewer.py", line 1636, in current_printers_and_jobs
    self.update_status ()
  File "/usr/share/system-config-printer/jobviewer.py", line 1466, in update_status
    printer = self.jobs[jobid]['job-printer-name']
KeyError: 'job-printer-name'

Local variables in innermost frame:
printer: u'Deskjet-D1400-series'
upset_printers: set([u'Deskjet-D1400-series'])
reasons: [<statereason.StateReason (ERROR,Deskjet-D1400-series,media-empty)>]
self: <jobviewer.JobViewer instance at 0x8fa228c>
jobid: 5
my_upset_printers: set([])
have_jobs: None

Comment 1 dlfrancis 2010-06-16 03:53:40 UTC
Created attachment 424340 [details]
File: backtrace

Comment 4 Jiri Popelka 2010-06-16 13:09:58 UTC
Fixed upstream (commit e502a8a).

Comment 5 Fedora Update System 2010-06-28 16:32:24 UTC
system-config-printer-1.2.3-3.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/system-config-printer-1.2.3-3.fc13

Comment 6 Fedora Update System 2010-06-28 23:38:03 UTC
system-config-printer-1.2.3-3.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-printer'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-printer-1.2.3-3.fc13

Comment 7 Fedora Update System 2010-07-01 18:38:09 UTC
system-config-printer-1.2.3-3.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.