[Pkg-hpijs-devel] Bug#515720: hplip: cannot install a printer with hp-setup

Sébastien Gautrias sebastien.gautrias at free.fr
Tue Feb 17 07:14:53 UTC 2009


Package: hplip
Version: 2.8.12-2
Severity: grave
Justification: renders package unusable


With the new version hplip, the printer (HP Photosmart C5930 All-in-One, USB connected) has disappeared (all was ok with 2.8.10).

The first window error is :
PPD not file found
An appropriate PPD file could not be found. Please check your HPLIP install, use Select Other...,
or download on from linuxprinting.org

I have this windows at the end :
Printer queue setup failed.
Please restart CUPS and try again

I have these logs in /var/log/syslog:
Feb 17 07:57:40 pirate python: hp-setup[7867]: error: No devices found. Please make sure your printer is properly connected and powered-on.
Feb 17 07:58:08 pirate python: hp-setup[7867]: error: No PPD found for model photosmart_c5300_series. Trying old algorithm...
Feb 17 07:58:08 pirate python: hp-setup[7867]: error: No PPD found for model photosmart_c5300 using old algorithm.
Feb 17 07:58:08 pirate python: hp-setup[7867]: error: PPD not file found. An appropriate PPD file could not be found. Please check your HPLIP install, use <i>Select Other...</i>, or download one from linuxprinting.org.
Feb 17 07:59:00 pirate python: hp-setup[7867]: error: No PPD found for model photosmart_c5300_series. Trying old algorithm...
Feb 17 07:59:00 pirate python: hp-setup[7867]: error: No PPD found for model photosmart_c5300 using old algorithm.
Feb 17 07:59:00 pirate python: hp-setup[7867]: error: PPD not file found. An appropriate PPD file could not be found. Please check your HPLIP install, use <i>Select Other...</i>, or download one from linuxprinting.org.
Feb 17 07:59:31 pirate python: hp-setup[7867]: error: No PPD found for model photosmart_c5300_series. Trying old algorithm...
Feb 17 07:59:32 pirate python: hp-setup[7867]: error: Printer queue setup failed. Please restart CUPS and try again.
Feb 17 07:59:54 pirate python: hp-setup[7867]: error: Print command failed with exit code 256!
Feb 17 08:01:23 pirate python: hp-check[8009]: error: Version: (Not available. CUPS may not be installed or not running.)
Feb 17 08:01:23 pirate python: io/hpmud/pp.c 627: unable to read device-id ret=-1
Feb 17 08:01:25 pirate python: hp-check[8009]: warning: No queues found.
Feb 17 08:01:25 pirate scanimage: io/hpmud/pp.c 627: unable to read device-id ret=-1
Feb 17 08:01:30 pirate python: hp-check[8009]: error: 1 error or warning.

-- Package-specific info:
error: Version: (Not available. CUPS may not be installed or not running.)

HP Linux Imaging and Printing System (ver. 2.8.12)
Dependency/Version Check Utility ver. 14.1

Copyright (c) 2001-8 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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if  
the proper dependencies are installed to successfully compile HPLIP.                                                                       
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP  
supplied tarball has the proper dependencies installed to successfully run.                                                                
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time
dependencies).                                                                                                                             

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux pirate 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux

Distribution:
debian 5.0

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt 3.x version...
OK, version 3.17 installed.

Checking PyQt 4.x version...

Checking for CUPS...
Status: scheduler is running

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0


------------------------
| RUNTIME DEPENDENCIES |
------------------------


Checking for dependency: cups - Common Unix Printing System...
OK, found.

Checking for dependency: cups-ddk - CUPS driver development kit...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt 3- Qt interface for Python (for Qt version 3.x)...
OK, found.

Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
OK, found.

Checking for dependency: python-ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: python-dbus - Python bindings for dbus...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.


----------------------
| HPLIP INSTALLATION |
----------------------


Currently installed HPLIP version...
HPLIP 2.8.12 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
[dirs]
run = /var/run
cupsbackend = /usr/lib/cups/backend
ppd = /usr/share/ppd/hpijs/HP
doc = /usr/share/doc/hplip-doc/HTML
drv = /usr/share/cups/drv
ppdbase = /usr/share/ppd/hpijs
home = /usr/share/hplip
cupsfilter = /usr/lib/cups/filter
icon = no

[hplip]
version = 2.8.12

[installation]
date_time = 02/17/09 08:01:22
version = 2.8.12.26

[configure]
foomatic-rip-hplip-install = no
qt4 = yes
foomatic-ppd-install = no
doc-build = yes
qt3 = yes
cups11-build = no
gui-build = yes
internal-tag = 2.8.12.26
foomatic-drv-install = yes
pp-build = yes
ui-toolkit = qt3
scanner-build = yes
network-build = yes
restricted-build = no
dbus-build = yes
shadow-build = no
fax-build = yes



Current contents of '~/.hplip/hplip.conf' file:


-------warning: No queues found.
error: 1 error or warning.
------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI                                             Model                      
  -----------------------------------------------------  ---------------------------
  hp:/usb/Photosmart_C5300_series?serial=MY86J160XP054V  HP Photosmart C5300 series 

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------



----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/usb/Photosmart_C5300_series?serial=MY86J160XP054V' is a Hewlett-Packard Photosmart_C5300_series all-in-one


---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.


-----------------
| USB I/O SETUP |
-----------------


Checking for permissions of USB attached printers...

HP Device 0x7111 at 004:004: 
    Device URI: hp:/usb/Photosmart_C5300_series?serial=MY86J160XP054V
    Device node: /dev/bus/usb/004/004
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/004/004
# owner: root
# group: root
user::rw-
group::rw-
other::r--



-----------
| SUMMARY |
-----------


Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html


Done.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.ISO8859-15, LC_CTYPE=en_US.ISO8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser                    3.110         add and remove users and groups
ii  coreutils                  6.12-1        The GNU core utilities
ii  cups                       1.3.9-14      Common UNIX Printing System(tm) - 
pn  hplip-data                 <none>        (no description available)
ii  libc6                      2.7-18        GNU C Library: Shared libraries
ii  libcups2                   1.3.9-14      Common UNIX Printing System(tm) - 
ii  libdbus-1-3                1.2.12-1      simple interprocess messaging syst
ii  libsane                    1.0.19-24     API library for scanners
ii  libsnmp15                  5.4.1~dfsg-12 SNMP (Simple Network Management Pr
ii  libssl0.9.8                0.9.8g-15     SSL shared libraries
ii  libusb-0.1-4               2:0.1.12-13   userspace USB programming library
ii  lsb-base                   3.2-20        Linux Standard Base 3.2 init scrip
ii  python                     2.5.2-3       An interactive high-level object-o
ii  python-dbus                0.83.0-1      simple interprocess messaging syst
ii  python-imaging             1.1.6-3       Python Imaging Library
ii  python-support             0.8.7         automated rebuilding support for P

Versions of packages hplip recommends:
ii  cups-client                   1.3.9-14   Common UNIX Printing System(tm) - 
ii  hpijs                         2.8.12-2   HP Linux Printing and Imaging - gs
ii  sane-utils                    1.0.19-24  API library for scanners -- utilit

Versions of packages hplip suggests:
pn  hplip-doc               <none>           (no description available)
ii  hplip-gui               2.8.12-2         HP Linux Printing and Imaging - GU
ii  kdeprint                4:3.5.9.dfsg.1-6 print system for KDE
ii  openprinting-ppds       20080211-2+nmu1  OpenPrinting printer support - Pos

-- no debconf information





More information about the Pkg-hpijs-devel mailing list