Bug 553141 - [abrt] crash using keyring for auth without password
Summary: [abrt] crash using keyring for auth without password
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 12
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:948c4231
Depends On:
Blocks: 553162
TreeView+ depends on / blocked
 
Reported: 2010-01-07 08:51 UTC by francesco.pasqualetti
Modified: 2010-01-17 14:02 UTC (History)
4 users (show)

Fixed In Version: 1.1.16-8.fc11
Clone Of:
: 553162 (view as bug list)
Environment:
Last Closed: 2010-01-15 22:04:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.71 KB, text/plain)
2010-01-07 08:51 UTC, francesco.pasqualetti
no flags Details

Description francesco.pasqualetti 2010-01-07 08:51:23 UTC
abrt 1.0.3 detected a crash.

backtrace
-----
Summary: TB948c4231 jobviewer.py:668:update_job:TypeError: 'NoneType' object does not support item assignment

Traceback (most recent call last):
  File "/usr/share/system-config-printer/monitor.py", line 673, in fetch_jobs
    fn (*args)
  File "/usr/share/system-config-printer/jobviewer.py", line 1227, in job_added
    self.add_job (jobid, jobdata)
  File "/usr/share/system-config-printer/jobviewer.py", line 486, in add_job
    self.update_job (job, data, connection=connection)
  File "/usr/share/system-config-printer/jobviewer.py", line 668, in update_job
    keyring_attrs["user"] = str (username)
TypeError: 'NoneType' object does not support item assignment

Local variables in innermost frame:
username: france
job_requires_auth: True
c: <authconn.Connection instance at 0xb718f46c>
auth_info: None
pattrs: ['auth-info-required', 'device-uri']
jattrs: ['job-state', 'job-hold-until']
connection: None
self: <jobviewer.JobViewer instance at 0xb725990c>
jstate: 4
uri: ipp://aspire9502:631/printers/HylaFAX
try_keyring: True
s: 4
r: set([])
attrs: {'job-hold-until': u'auth-info-required', 'attributes-charset': u'utf-8', 'job-state': 4, 'attributes-natural-language': u'it-it'}
keyring_attrs: None
auth_info_required: [u'none']
data: {'job-name': u'Test Page', 'job-printer-uri': u'ipp://aspire9502:631/printers/HylaFAX', 'device-uri': u'file:///dev/null', 'job-priority': 50, 'time-at-processing': 1262700549, 'job-state': 4, 'attributes-charset': u'utf-8', 'auth-info-required': [u'none'], 'job-k-octets': 1, 'job-media-sheets-completed': 0, 'job-printer-name': u'Hylafax', 'time-at-creation': 1262700549, 'job-hold-until': u'auth-info-required', 'job-originating-user-name': u'france', 'attributes-natural-language': u'it-it'}
job: 233

cmdline: python /usr/share/system-config-printer/applet.py 
component: system-config-printer
executable: /usr/share/system-config-printer/applet.py
kernel: 2.6.31.9-174.fc12.i686
package: system-config-printer-1.1.15-6.fc12
uuid: 948c4231

Comment 1 francesco.pasqualetti 2010-01-07 08:51:27 UTC
Created attachment 382174 [details]
File: backtrace

Comment 2 Tim Waugh 2010-01-07 09:56:34 UTC
Also affects Fedora 11.

Comment 3 Fedora Update System 2010-01-08 19:58:49 UTC
system-config-printer-1.1.16-6.fc12 has been pushed to the Fedora 12 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/F12/FEDORA-2009-13156

Comment 4 Fedora Update System 2010-01-08 20:14:59 UTC
system-config-printer-1.1.16-5.fc11 has been pushed to the Fedora 11 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/F11/FEDORA-2009-13579

Comment 5 Fedora Update System 2010-01-12 23:36:58 UTC
system-config-printer-1.1.16-8.fc11 has been pushed to the Fedora 11 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/F11/FEDORA-2009-13579

Comment 6 Fedora Update System 2010-01-12 23:38:44 UTC
system-config-printer-1.1.16-8.fc12 has been pushed to the Fedora 12 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/F12/FEDORA-2009-13156

Comment 7 Fedora Update System 2010-01-15 22:03:35 UTC
system-config-printer-1.1.16-8.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-01-15 22:12:05 UTC
system-config-printer-1.1.16-8.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.