Bug 1141426 - [abrt] system-config-printer: printerproperties.py:1336:load:AttributeError: 'RuntimeError' object has no attribute 'message'
Summary: [abrt] system-config-printer: printerproperties.py:1336:load:AttributeError: ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:6c8cd96e9199bc2433aba08bb36...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-13 08:53 UTC by Joachim Frieben
Modified: 2014-10-17 16:43 UTC (History)
3 users (show)

Fixed In Version: system-config-printer-1.5.2-2.fc21
Clone Of:
Environment:
Last Closed: 2014-10-17 16:43:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.37 KB, text/plain)
2014-09-13 08:53 UTC, Joachim Frieben
no flags Details
File: environ (1.70 KB, text/plain)
2014-09-13 08:53 UTC, Joachim Frieben
no flags Details

Description Joachim Frieben 2014-09-13 08:53:25 UTC
Version-Release number of selected component:
system-config-printer-1.5.1-3.fc21

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python3 /usr/share/system-config-printer/system-config-printer.py
executable:     /usr/share/system-config-printer/system-config-printer.py
kernel:         3.16.2-301.fc21.x86_64
runlevel:       N 5
type:           Python3
uid:            1001

Truncated backtrace:
printerproperties.py:1336:load:AttributeError: 'RuntimeError' object has no attribute 'message'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/printerproperties.py", line 1310, in load
    self.ppd = printer.getPPD()
  File "/usr/lib/python3.4/site-packages/cupshelpers/cupshelpers.py", line 205, in getPPD
    result = cups.PPD (self._ppd)
RuntimeError: fopen failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 540, in dests_iconview_item_activated
    parent=self.PrintersWindow)
  File "/usr/share/system-config-printer/printerproperties.py", line 579, in show
    self.load (name, host=host, encryption=encryption, parent=parent)
  File "/usr/share/system-config-printer/printerproperties.py", line 1336, in load
    if e.message.startswith ("ppd"):
AttributeError: 'RuntimeError' object has no attribute 'message'

Local variables in innermost frame:
parent: <Window object at 0x7f42b99b0090 (GtkWindow at 0x14464a0)>
self: <PrinterPropertiesDialog object at 0x7f42b9c94288 (printerproperties+PrinterPropertiesDialog at 0x12a2c20)>
name: 'HP-LaserJet-4000'
printer: <cupshelpers.Printer "HP-LaserJet-4000">
host: '/var/run/cups/cups.sock'
publishing: False
c: <authconn.Connection object at 0x7f42b9ca79b0>
encryption: -1
editable: True

Comment 1 Joachim Frieben 2014-09-13 08:53:29 UTC
Created attachment 937183 [details]
File: backtrace

Comment 2 Joachim Frieben 2014-09-13 08:53:30 UTC
Created attachment 937184 [details]
File: environ


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