Bug 611264

Summary: [abrt] crash in system-config-printer-1.2.3-3.fc13: jobviewer.py:244:cancelJob_error:TypeError: descriptor 'cancelJob' requires a 'cups.Connection' object but received a 'NoneType'
Product: [Fedora] Fedora Reporter: Brian Millett <bmillett>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:b0f5485a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-07 13:27:33 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 Brian Millett 2010-07-04 14:53:11 UTC
abrt 1.1.1 detected a crash.

architecture: x86_64
cmdline: python /usr/share/system-config-printer/applet.py
component: system-config-printer
executable: /usr/share/system-config-printer/applet.py
kernel: 2.6.33.5-124.fc13.x86_64
package: system-config-printer-1.2.3-3.fc13
reason: jobviewer.py:244:cancelJob_error:TypeError: descriptor 'cancelJob' requires a 'cups.Connection' object but received a 'NoneType'
release: Fedora release 13 (Goddard)

backtrace
-----
jobviewer.py:244:cancelJob_error:TypeError: descriptor 'cancelJob' requires a 'cups.Connection' object but received a 'NoneType'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/asyncipp.py", line 207, in send_error
    handler (self._conn, exc)
  File "/usr/share/system-config-printer/asyncipp.py", line 376, in error_handler
    return self._error (exc)
  File "/usr/share/system-config-printer/asyncipp.py", line 544, in _error
    self._client_error_handler (self._conn, exc)
  File "/usr/share/system-config-printer/asyncpk1.py", line 150, in _ipp_error_handler
    self._client_error_handler (self._conn, *args)
  File "/usr/share/system-config-printer/asyncconn.py", line 145, in <lambda>
    kwds["error_handler"] = lambda c, e: error_handler (self, e)
  File "/usr/share/system-config-printer/jobviewer.py", line 244, in cancelJob_error
    raise exc
TypeError: descriptor 'cancelJob' requires a 'cups.Connection' object but received a 'NoneType'

Local variables in innermost frame:
connection: <asyncconn.Connection object at 0x2d95750>
exc: TypeError("descriptor 'cancelJob' requires a 'cups.Connection' object but received a 'NoneType'",)
self: <jobviewer.CancelJobsOperation instance at 0x2f4c998>

How to reproduce
-----
1.try to kill a print job
2.
3.

Comment 1 Brian Millett 2010-07-04 14:53:13 UTC
Created attachment 429382 [details]
File: backtrace

Comment 2 Jiri Popelka 2010-07-07 13:27:33 UTC

*** This bug has been marked as a duplicate of bug 608283 ***