Bug 640904

Summary: [abrt] system-config-printer-1.2.4-1.fc13: jobviewer.py:1783:job_event:KeyError: 13
Product: [Fedora] Fedora Reporter: Pablo Sandoval <pablofersanji>
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:0191206b
Fixed In Version: system-config-printer-1.2.5-6.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-22 22:14:38 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 Pablo Sandoval 2010-10-07 05:18:52 UTC
abrt version: 1.1.13
architecture: i686
cmdline: /usr/bin/python /usr/share/system-config-printer/applet.py
component: system-config-printer
executable: /usr/share/system-config-printer/applet.py
kernel: 2.6.34.7-56.fc13.i686
package: system-config-printer-1.2.4-1.fc13
reason: jobviewer.py:1783:job_event:KeyError: 13
release: Fedora release 13 (Goddard)
time: 1286428396
uid: 500

backtrace
-----
jobviewer.py:1783:job_event:KeyError: 13

Traceback (most recent call last):
  File "/usr/share/system-config-printer/monitor.py", line 483, in get_notifications
    fn (*args)
  File "/usr/share/system-config-printer/jobviewer.py", line 1783, in job_event
    jobdata = self.jobs[jobid]
KeyError: 13

Local variables in innermost frame:
printer: u'Stylus-C110'
self: <jobviewer.JobViewer instance at 0x9a8d4ac>
uri: u'ipp://localhost.localdomain:0/printers/Stylus-C110'
jobdata: {'job-name': u'Comprobaci\xf3n Entregas de Maquila', 'job-printer-uri': u'ipp://localhost.localdomain:0/printers/Stylus-C110', 'job-printer-name': u'Stylus-C110', 'time-at-creation': 1286428068, 'job-state': 5, '_status_text': 'Procesando', 'job-originating-user-name': u'pablo', 'job-k-octets': 32}
jobid: 13
eventname: u'job-progress'
mon: <monitor.Monitor instance at 0x9a8d5ec>
event: {'job-name': u'Comprobaci\xf3n Entregas de Maquila', 'notify-job-id': 13, 'notify-natural-langugage': u'en-us', 'notify-sequence-number': 11, 'notify-subscribed-event': u'job-progress', 'printer-state-reasons': [u'connecting-to-device'], 'job-impressions-completed': 1, 'printer-is-accepting-jobs': True, 'notify-printer-uri': u'ipp://localhost.localdomain:0/printers/Stylus-C110', 'job-state-reasons': u'job-printing', 'notify-subscription-id': 9, 'notify-text': u'Printing page 1, 2%', 'printer-name': u'Stylus-C110', 'notify-charset': u'utf-8', 'printer-up-time': 1286428379, 'job-state': 5, 'printer-state': 4}

Comment 1 Pablo Sandoval 2010-10-07 05:18:55 UTC
Created attachment 452040 [details]
File: backtrace

Comment 4 Tim Waugh 2010-10-12 15:50:11 UTC
Trac filed:
https://fedorahosted.org/system-config-printer/ticket/215

Fixed upstream:

commit 386f067d88c3c420619f004871dd4483e3969ba1
Author: Tim Waugh <twaugh>
Date:   Tue Oct 12 16:47:11 2010 +0100

    Avoid crash in jobviewer (bug #640904).
    
    More complete fix would involve calling update_status() from the idle
    timer instead.

Comment 5 Fedora Update System 2010-10-13 14:47:32 UTC
system-config-printer-1.2.5-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-1.fc14

Comment 6 Fedora Update System 2010-10-13 14:55:16 UTC
system-config-printer-1.2.5-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-1.fc13

Comment 7 Fedora Update System 2010-10-14 06:24:47 UTC
system-config-printer-1.2.5-1.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: https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-1.fc13

Comment 8 Fedora Update System 2010-11-16 23:23:37 UTC
system-config-printer-1.2.5-6.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-11-22 22:13:19 UTC
system-config-printer-1.2.5-6.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.