Bug 566938

Summary: [abrt] crash in statereason when cupsGetPPD2 fails
Product: [Fedora] Fedora Reporter: Mihai Lazarescu <mihai>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: igor.redhat, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:91044f17
Fixed In Version: system-config-printer-1.1.18-2.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 567226 (view as bug list) Environment:
Last Closed: 2010-03-20 03:39:59 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:
Bug Depends On:    
Bug Blocks: 567226    
Attachments:
Description Flags
File: backtrace none

Description Mihai Lazarescu 2010-02-20 14:57:03 UTC
abrt 1.0.6 detected a crash.

architecture: i686
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.12-174.2.19.fc12.i686
package: system-config-printer-1.1.16-13.fc12
release: Fedora release 12 (Constantine)

backtrace
-----
Summary: TB91044f17 statereason.py:134:get_description:RuntimeError: cupsGetPPD2 failed

Traceback (most recent call last):
  File "/usr/share/system-config-printer/applet.py", line 440, in <module>
    trayicon=trayicon)
  File "/usr/share/system-config-printer/jobviewer.py", line 316, in __init__
    encryption=self.encryption)
  File "/usr/share/system-config-printer/monitor.py", line 166, in __init__
    self.refresh ()
  File "/usr/share/system-config-printer/monitor.py", line 586, in refresh
    self.update_jobs (jobs)
  File "/usr/share/system-config-printer/monitor.py", line 716, in update_jobs
    self.check_state_reasons (my_printers, printer_jobs)
  File "/usr/share/system-config-printer/monitor.py", line 294, in check_state_reasons
    self.watcher.state_reason_added (self, reason)
  File "/usr/share/system-config-printer/jobviewer.py", line 1381, in state_reason_added
    (title, text) = reason.get_description ()
  File "/usr/share/system-config-printer/statereason.py", line 134, in get_description
    f = self.connection.getPPD(self.printer)
RuntimeError: cupsGetPPD2 failed

Local variables in innermost frame:
self: <statereason.StateReason (WARNING,Samsung_SCX_4725_Series__SEC0015991fe371_,com.apple.print.recoverable)>
messages: {'media-low': ('Paper low', "Printer '%s' is low on paper."), 'toner-empty': ('Toner empty', "Printer '%s' has no toner left."), 'connecting-to-device': ('Not connected?', "Printer '%s' may not be connected."), 'door-open': ('Door open', "The door is open on printer '%s'."), 'media-empty': ('Out of paper', "Printer '%s' is out of paper."), 'marker-supply-empty': ('Ink empty', "Printer '%s' has no ink left."), 'toner-low': ('Toner low', "Printer '%s' is low on toner."), 'cover-open': ('Cover open', "The cover is open on printer '%s'."), 'marker-supply-low': ('Ink low', "Printer '%s' is low on ink."), 'other': ('Printer error', "There is a problem on printer '%s'."), 'offline': ('Printer off-line', "Printer '%s' is currently off-line.")}
title: 'Printer warning'

Comment 1 Mihai Lazarescu 2010-02-20 14:57:08 UTC
Created attachment 395268 [details]
File: backtrace

Comment 2 Fedora Update System 2010-02-22 17:36:37 UTC
system-config-printer-1.1.92-4.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/system-config-printer-1.1.92-4.fc13

Comment 3 Fedora Update System 2010-02-23 16:08:53 UTC
system-config-printer-1.1.92-4.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2010-03-10 10:53:18 UTC
system-config-printer-1.1.18-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/system-config-printer-1.1.18-1.fc11

Comment 5 Fedora Update System 2010-03-10 11:54:03 UTC
system-config-printer-1.1.18-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/system-config-printer-1.1.18-1.fc12

Comment 6 Fedora Update System 2010-03-11 07:14:36 UTC
system-config-printer-1.1.18-1.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/system-config-printer-1.1.18-1.fc12

Comment 7 Fedora Update System 2010-03-11 07:16:29 UTC
system-config-printer-1.1.18-1.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/system-config-printer-1.1.18-1.fc11

Comment 8 Fedora Update System 2010-03-16 00:38:24 UTC
system-config-printer-1.1.18-1.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/system-config-printer-1.1.18-1.fc11

Comment 9 Fedora Update System 2010-03-16 00:52:33 UTC
system-config-printer-1.1.18-1.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/system-config-printer-1.1.18-1.fc12

Comment 10 Fedora Update System 2010-03-18 03:14:48 UTC
system-config-printer-1.1.18-2.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/system-config-printer-1.1.18-2.fc12

Comment 11 Fedora Update System 2010-03-18 03:28:58 UTC
system-config-printer-1.1.18-2.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/system-config-printer-1.1.18-2.fc11

Comment 12 Fedora Update System 2010-03-20 03:39:11 UTC
system-config-printer-1.1.18-2.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2010-03-23 02:11:18 UTC
system-config-printer-1.1.18-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.