Bug 998277

Summary: [abrt] system-config-printer-libs-1.4.1-8.fc19: jobviewer.py:999:display_auth_info_dialog:KeyError: 'auth-info-required'
Product: [Fedora] Fedora Reporter: Nivag <gavinflower>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: gavinflower, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:73b0ef7bfbebf2201c908d1d8f6e88fa05f0be4d
Fixed In Version: system-config-printer-1.4.2-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-25 22:56:45 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
File: environ none

Description Nivag 2013-08-18 20:47:51 UTC
Description of problem:
Possibly associated with trying to print something on a another Linux box that was not powered up at the time.

Note that I had successfully printed to that box when it was pwered up.

Version-Release number of selected component:
system-config-printer-libs-1.4.1-8.fc19

Additional info:
reporter:       libreport-2.1.6
cmdline:        /usr/bin/python /usr/share/system-config-printer/scp-dbus-service.py
executable:     /usr/share/system-config-printer/scp-dbus-service.py
kernel:         3.10.7-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
jobviewer.py:999:display_auth_info_dialog:KeyError: 'auth-info-required'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/jobviewer.py", line 1879, in job_event
    self.update_job (jobid, jobdata)
  File "/usr/share/system-config-printer/jobviewer.py", line 994, in update_job
    self.display_auth_info_dialog (job, keyring_attrs)
  File "/usr/share/system-config-printer/jobviewer.py", line 999, in display_auth_info_dialog
    auth_info_required = data['auth-info-required']
KeyError: 'auth-info-required'

Local variables in innermost frame:
job: 25
data: {'job-name': u'20130818', 'job-printer-uri': u'ipp://saturn/printers/HL-2040-series', 'device-uri': u'dnssd://Brother%20HL-2040%20series%20%40%20sirius._ipp._tcp.local/cups', 'attributes-charset': u'utf-8', 'job-k-octets': 0, 'attributes-natural-language': u'en-gb', 'job-printer-name': 'HL-2040-series', 'time-at-creation': 1376858102, 'job-hold-until': u'auth-info-required', 'job-state': 4}
self: <JobViewer object at 0x1921640 (jobviewer+JobViewer at 0x149de40)>
keyring_attrs: {'protocol': 'dnssd', 'user': 'gavin', 'server': 'brother%20hl-2040%20series%20%40%20sirius._ipp._tcp.local'}

Comment 1 Nivag 2013-08-18 20:47:55 UTC
Created attachment 787844 [details]
File: backtrace

Comment 2 Nivag 2013-08-18 20:47:58 UTC
Created attachment 787845 [details]
File: environ

Comment 3 Fedora Update System 2013-08-21 16:23:02 UTC
system-config-printer-1.4.2-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/system-config-printer-1.4.2-1.fc19

Comment 4 Fedora Update System 2013-08-23 00:45:34 UTC
Package system-config-printer-1.4.2-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-printer-1.4.2-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15201/system-config-printer-1.4.2-1.fc19
then log in and leave karma (feedback).

Comment 5 Nivag 2013-08-24 12:09:00 UTC
Seems okay now, Thanks.
Left karma, but hadn't logged in, so became anonymous.

Comment 6 Fedora Update System 2013-08-25 22:56:45 UTC
system-config-printer-1.4.2-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.