[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#341445: hplip: hp-clean does not work

Package: hplip
Version: 0.9.7-2
Severity: normal

When running hp-clean (or using the hp-toolbox gui), an error is 
triggered and no cleaning occurs:

 HP Linux Imaging and Printing System (ver. 0.9.7)
 Printer Cartridge Cleaning Utility ver. 1.5
 Copyright (c) 2003-5 Hewlett-Packard Development Company, LP
 This software comes with ABSOLUTELY NO WARRANTY.
 This is free software, and you are welcome to distribute it
 under certain conditions. See COPYING file for more details.
 Using device: hp:/usb/psc_1200_series?serial=HU3A2FP1JF8W
 Performing type 2, level 1 cleaning...
Traceback (most recent call last):
  File "/usr/bin/hp-clean", line 162, in ?
    maint.cleanType2( d )
  File "/usr/lib/hplip/base/maint.py", line 890, in cleanType2
  File "/usr/lib/hplip/base/device.py", line 750, in printData
    self.printFile(temp_file_name, direct, raw, remove=True)
  File "/usr/lib/hplip/base/device.py", line 778, in printFile
    c = ' '.join(['lp -c -d', self.first_cups_printer, raw_str, rem_str, 
NameError: global name 'rem_str' is not defined

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages hplip depends on:
ii  adduser                       3.80       Add and remove users and groups
ii  coreutils                     5.93-5     The GNU core utilities
ii  cupsys                        1.1.23-12  Common UNIX Printing System(tm) - 
ii  hplip-data                    0.9.7-2    HP Linux Printing and Imaging - da
ii  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  libcupsys2                    1.1.23-12  Common UNIX Printing System(tm) - 
ii  libgcc1                       1:4.0.2-4  GCC support library
ii  libsnmp9              NET SNMP (Simple Network Managemen
ii  libssl0.9.8                   0.9.8a-4   SSL shared libraries
ii  libstdc++6                    4.0.2-4    The GNU Standard C++ Library v3
ii  lsb-base                      3.0-11     Linux Standard Base 3.0 init scrip
ii  python                        2.3.5-3    An interactive high-level object-o
ii  python-qt3                    3.15-4     Qt3 bindings for Python (default v

Versions of packages hplip recommends:
ii  cupsys-client              1.1.23-12     Common UNIX Printing System(tm) - 
ii  hpijs                      2.1.7+0.9.7-2 HP Linux Printing and Imaging - gs
ii  hplip-ppds                 0.9.7-2       HP Linux Printing and Imaging - PP

-- no debconf information

Reply to: