Bug 1026876 - [abrt] system-config-printer-libs-1.4.2-1.fc19: jobviewer.py:965:update_job:AttributeError: 'Array' object has no attribute 'get'
[abrt] system-config-printer-libs-1.4.2-1.fc19: jobviewer.py:965:update_job:A...
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Tim Waugh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-11-05 10:08 EST by madbix
Modified: 2013-11-06 02:39 EST (History)
2 users (show)

See Also:
Fixed In Version: system-config-printer-1.4.3-2.fc19
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-11-06 02:39:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (1.88 KB, text/plain)
2013-11-05 10:09 EST, madbix
no flags Details
File: environ (807 bytes, text/plain)
2013-11-05 10:09 EST, madbix
no flags Details

  None (edit)
Description madbix 2013-11-05 10:08:50 EST
Description of problem:
Added a windows shared printer with Generis Postscript driver and launched a print test page. The error occurs and the document is not printed.

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.1.9
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.11.6-201.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
jobviewer.py:965:update_job:AttributeError: 'Array' object has no attribute 'get'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/jobviewer.py", line 1891, in job_event
    self.update_job (jobid, jobdata)
  File "/usr/share/system-config-printer/jobviewer.py", line 965, in update_job
    auth_info[ind] = items[0].attributes.get ('user', '')
AttributeError: 'Array' object has no attribute 'get'

Local variables in innermost frame:
share: 'prismlpa'
rest: u'//UNIV-LYON1/pcounter/prismlpa'
result: <enum GNOME_KEYRING_RESULT_OK of type PyGnomeKeyringResult>
jstate: 4
ind: 0
group: 'UNIV-LYON1'
val: 'pcounter'
jattrs: ['job-state', 'job-hold-until']
self: <JobViewer object at 0x2ceba50 (jobviewer+JobViewer at 0x28f4d80)>
connection: <cups.Connection object for /var/run/cups/cups.sock at 0x2ff72a0>
device_uri: u'smb://UNIV-LYON1/pcounter/prismlpa'
job_requires_auth: True
scheme: u'smb'
type: <enum GNOME_KEYRING_ITEM_NETWORK_PASSWORD of type PyGnomeKeyringItemType>
try_keyring: True
job: 79
user: ''
key: 'server'
auth_info_required: [u'username', u'password']
password: ''
data: {'job-name': u'Test Page', 'job-printer-uri': u'ipp://localhost.localdomain/printers/prismlpa', 'device-uri': u'smb://UNIV-LYON1/pcounter/prismlpa', 'job-state': 4, 'attributes-charset': u'utf-8', 'auth-info-required': [u'username', u'password'], 'job-k-octets': 1, 'attributes-natural-language': u'en-us', 'job-printer-name': 'prismlpa', 'time-at-creation': 1383663567, 'job-hold-until': u'auth-info-required', 'job-originating-user-name': u'maxime'}
c: <authconn.Connection instance at 0x2ffa440>
auth_info: ['', '']
pattrs: ['auth-info-required', 'device-uri']
items: [<GnomeKeyringFound at 0x3145e00>]
uri: <smburi.SMBURI instance at 0x2ffaea8>
server: 'pcounter'
s: 4
r: ['job-preserved']
keyring_attrs: {'domain': 'UNIV-LYON1', 'protocol': 'smb', 'server': 'pcounter'}
attrs: <GArray at 0x3126a90>
Comment 1 madbix 2013-11-05 10:09:00 EST
Created attachment 819819 [details]
File: backtrace
Comment 2 madbix 2013-11-05 10:09:04 EST
Created attachment 819820 [details]
File: environ
Comment 3 Jiri Popelka 2013-11-05 11:31:24 EST
This has probably already been fixed upstream
Comment 4 Fedora Update System 2013-11-05 11:34:24 EST
system-config-printer-1.4.3-2.fc19 has been submitted as an update for Fedora 19.
Comment 5 Fedora Update System 2013-11-06 02:39:36 EST
system-config-printer-1.4.3-2.fc19 has been pushed to the Fedora 19 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.