Bug 651854 - s-c-p traceback when adding a postscript printer
Summary: s-c-p traceback when adding a postscript printer
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: system-config-printer
Version: 5.5
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact: Karel Srot
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-10 13:28 UTC by Karel Srot
Modified: 2013-01-08 07:25 UTC (History)
3 users (show)

Fixed In Version: system-config-printer-0.7.32.10-3.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-08 07:25:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0051 0 normal SHIPPED_LIVE system-config-printer bug fix update 2013-01-07 15:28:02 UTC

Description Karel Srot 2010-11-10 13:28:46 UTC
Description of problem:
While adding a HPLIP postscript printer with s-c-p I got the traceback:

PPD name: postscript.ppd.gz
Cups PPD
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2493, in on_btnNPApply_clicked
    self.checkDriverExists (name, ppd=checkppd)
  File "/usr/share/system-config-printer/system-config-printer.py", line 2620, in checkDriverExists
    if exe and not exepath:
UnboundLocalError: local variable 'exe' referenced before assignment


Version-Release number of selected component (if applicable):
system-config-printer-0.7.32.10-1.el5
hplip3-libs-3.9.8-7.el5
hplip3-3.9.8-7.el5
hplip-1.6.7-4.1.el5_2.4
hplip3-common-3.9.8-7.el5


How reproducible:
always

Steps to Reproduce:
1. execute system-config-printer within a terminal and add a new printer
2. choose HPLIP in connection, use "hp3:/usb/DeskJet_990C?serial=1234" as URI location.
3. Choose Generic, postscript printer, click Apply
  
Traceback appears in the console

Comment 1 Tim Waugh 2010-11-11 12:46:35 UTC
Upstream fix: commit e2cd998f4e0b64f148cc555220cab0e7f624b866.

Work-around for testing hp3: use a raster-type driver such as hpcups.

Comment 2 RHEL Program Management 2011-05-31 14:16:54 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 3 RHEL Program Management 2012-04-19 11:48:27 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 8 errata-xmlrpc 2013-01-08 07:25:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0051.html


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