Bug 620056

Summary: [abrt] crash in system-config-printer-1.1.19-3.fc12: monitor.py:552:refresh:KeyError: 'job-state'
Product: [Fedora] Fedora Reporter: Joel S. <WCS99no1>
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, sbulutw, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:4838bc9a
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:00 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 Joel S. 2010-07-31 16:44:03 UTC
abrt 1.1.1 detected a crash.

architecture: i686
cmdline: python /usr/share/system-config-printer/applet.py
comment: I just logged onto my computer and got this error report.  Not sure what happened or what I did.
component: system-config-printer
executable: /usr/share/system-config-printer/applet.py
kernel: 2.6.32.16-141.fc12.i686.PAE
package: system-config-printer-1.1.19-3.fc12
reason: monitor.py:552:refresh:KeyError: 'job-state'
release: Fedora release 12 (Constantine)

backtrace
-----
monitor.py:552:refresh:KeyError: 'job-state'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/monitor.py", line 362, in get_notifications
    self.refresh ()
  File "/usr/share/system-config-printer/monitor.py", line 552, in refresh
    if self.monitor_jobs:
KeyError: 'job-state'

Local variables in innermost frame:
c: <cups.Connection object for /var/run/cups/cups.sock at 0x9ac6728>
jobs: {3: {}, 36: {}, 5: {}, 38: {}, 8: {}, 41: {}}
refresh_all: True
self: <monitor.Monitor instance at 0x99c74ac>
jobid: 3
job: {}
user: 'WCS99no1'
filtered: {}
which_jobs: None
events: ['printer-added', 'printer-deleted', 'printer-state-changed', 'job-created', 'job-completed', 'job-stopped', 'job-state-changed']

Comment 1 Joel S. 2010-07-31 16:44:05 UTC
Created attachment 435771 [details]
File: backtrace

Comment 3 Tim Waugh 2010-10-12 15:39:56 UTC
Already fixed upstream.

commit cec0c94c1a0ea88dc33ddad7f471058976365f0d
Author: Tim Waugh <twaugh>
Date:   Wed Apr 14 12:16:11 2010 +0100

    monitor: don't crash if job-state attribute is missing (Ubuntu #562441).

Comment 4 Fedora Update System 2010-10-15 11:43:57 UTC
system-config-printer-1.2.5-3.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-3.fc13

Comment 5 Fedora Update System 2010-10-15 11:45:52 UTC
system-config-printer-1.2.5-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-3.fc14

Comment 6 Fedora Update System 2010-10-17 04:53:10 UTC
system-config-printer-1.2.5-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: https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-3.fc13

Comment 7 Bug Zapper 2010-11-03 11:23:07 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Fedora Update System 2010-11-16 23:22:56 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:12:38 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.