Bug 222560 - hp-check fails with traceback
Summary: hp-check fails with traceback
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC6Update
TreeView+ depends on / blocked
 
Reported: 2007-01-14 10:16 UTC by Tim Wegener
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 1.6.12-1.fc6
Clone Of:
Environment:
Last Closed: 2007-01-22 17:51:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch for /usr/share/hplip/check to solve problem (700 bytes, patch)
2007-01-14 10:16 UTC, Tim Wegener
no flags Details | Diff

Description Tim Wegener 2007-01-14 10:16:10 UTC
Description of problem:


Version-Release number of selected component (if applicable):
hplip-1.6.10-1.fc6.4

How reproducible:
Always

Steps to Reproduce:
1. hp-check
  
Actual results:
----------------------
| INSTALLED PRINTERS |
----------------------


Photosmart_C4100_series
-----------------------
Device URI:
hal:///org/freedesktop/Hal/devices/usb_device_3f0_5711_MY65CB919404J7_if1_printer_MY65CB919404J7
Installed in HPLIP? No
PPD: /etc/cups/ppd/Photosmart_C4100_series.ppd
PPD Description: HP PhotoSmart C4100 Foomatic/hpijs (recommended)

Printer status:
printer Photosmart_C4100_series is idle.  enabled since Sun 14 Jan 2007 07:11:04
PM CST

Traceback (most recent call last):
  File "/usr/bin/hp-check", line 285, in ?
    if back_end == 'hpfax' and desc != 'HP Fax':
NameError: name 'back_end' is not defined

Expected results:
Rest of script to be run with normal clean exit.

Additional info:
Patch for /usr/share/hplip/check attached.

Comment 1 Tim Wegener 2007-01-14 10:16:10 UTC
Created attachment 145542 [details]
Patch for /usr/share/hplip/check to solve problem

Comment 2 Tim Waugh 2007-01-15 14:20:51 UTC
Looks like this is already fixed in the 1.6.12-1.fc6 updates-testing package.

Comment 3 Fedora Update System 2007-01-22 17:01:23 UTC
Fixed in update: hplip-1.6.12-1.fc6


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