Bug 1176443

Summary: [abrt] system-config-printer: newprinter.py:1764:error_getting_devices:AttributeError: 'NoneType' object has no attribute '_end_operation'
Product: [Fedora] Fedora Reporter: Pierre <pierrembeniyaba>
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: 20CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/cd54eaacc792d2907e18377147b6cdaf8df472ef
Whiteboard: abrt_hash:0cb3316e66948c2f2e0468cd1da37c6b159c2608
Fixed In Version: system-config-printer-1.5.5-2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-22 06:03: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
File: dso_list
none
File: environ none

Description Pierre 2014-12-21 21:57:06 UTC
Version-Release number of selected component:
system-config-printer-1.4.7-1.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
executable:     /usr/share/system-config-printer/system-config-printer.py
kernel:         3.12.23-1.pvops.qubes.x86_64
runlevel:       N 3
type:           Python
uid:            1000

Truncated backtrace:
newprinter.py:1764:error_getting_devices:AttributeError: 'NoneType' object has no attribute '_end_operation'

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gi/overrides/GLib.py", line 633, in <lambda>
    return (lambda data: callback(*data), user_data)
  File "/usr/share/system-config-printer/asyncipp.py", line 202, in send_error
    handler (self._conn, exc)
  File "/usr/share/system-config-printer/asyncipp.py", line 353, in error_handler
    return self._error (exc)
  File "/usr/share/system-config-printer/asyncipp.py", line 600, in _error
    self._client_error_handler (self._conn, exc)
  File "/usr/share/system-config-printer/asyncpk1.py", line 172, in _ipp_error_handler
    self._client_error_handler (self._conn, *args)
  File "/usr/share/system-config-printer/asyncconn.py", line 97, in error_handler
    self._error_handler (self, self._error_data, *args)
  File "/usr/share/system-config-printer/asyncconn.py", line 219, in _subst_error_handler
    error_handler (self, *args)
  File "/usr/share/system-config-printer/newprinter.py", line 1764, in error_getting_devices
    self.fetchDevices_conn._end_operation ()
AttributeError: 'NoneType' object has no attribute '_end_operation'

Local variables in innermost frame:
self: <NewPrinterGUI object at 0x16a94b0 (newprinter+NewPrinterGUI at 0x1468480)>
exc: IPPError(4096, 'Unauthorized')
conn: <asyncconn.Connection object at 0x16c2810>

Comment 1 Pierre 2014-12-21 21:57:09 UTC
Created attachment 971815 [details]
File: backtrace

Comment 2 Pierre 2014-12-21 21:57:10 UTC
Created attachment 971816 [details]
File: dso_list

Comment 3 Pierre 2014-12-21 21:57:11 UTC
Created attachment 971817 [details]
File: environ

Comment 4 Fedora Update System 2015-02-06 20:44:32 UTC
system-config-printer-1.5.5-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/system-config-printer-1.5.5-1.fc21

Comment 5 Fedora Update System 2015-02-09 05:26:31 UTC
Package system-config-printer-1.5.5-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 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.5.5-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-1876/system-config-printer-1.5.5-2.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-02-22 06:03:00 UTC
system-config-printer-1.5.5-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.