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

Bug#515720: hp-setup -i dies when picking PPD



I suspect this is the same bug, so I'm appending it to the existing bug report.

When I run hp-setup -i, it starts out working okay.
Select connection type... network/ethernet
Select device... (probe delay)... hp:/net/HP_LaserJet_4100_Series?ip=192.35.100.71  HP_LaserJet_4100_Series,HP_LaserJet_4100_Series,lj4100

But then it explodes trying to find a PPD...

> Please enter a name for this print queue (m=use model name:'HP_LaserJet_4100'*, q=quit) ?lj4100
> Using queue name: lj4100
> error: No PPD found for model laserjet_4100. Trying old algorithm...
> 
> warning: Found multiple possible PPD files
> 
> Choose a PPD file that most closely matches your device:
> (Note: The model number may vary slightly from the actual model number on the device.)
> 
> Num.  PPD Filename                                       Description                             
> ----  -------------------------------------------------  ----------------------------------------
> Traceback (most recent call last):
>   File "/usr/bin/hp-setup", line 496, in <module>
>     mins_list = mins.keys()
> AttributeError: 'tuple' object has no attribute 'keys'

hp-check complains noisily about not finding python-qt3 or python-qt4, and can't
figure out the cups version, but has no other significant complaints.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.29-rc6-00063-gc3925d8 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
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                  7.1-2         The GNU core utilities
ii  cups                       1.3.9-14+b1   Common UNIX Printing System(tm) - 
ii  hplip-data                 2.8.12-3      HP Linux Printing and Imaging - da
ii  libc6                      2.9-4         GNU C Library: Shared libraries
ii  libcups2                   1.3.9-14+b1   Common UNIX Printing System(tm) - 
ii  libdbus-1-3                1.2.12-1      simple interprocess messaging syst
ii  libsane                    1.0.19-26     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.4-2       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+b1 Common UNIX Printing System(tm) - 
ii  hpijs                        2.8.12-3    HP Linux Printing and Imaging - gs
ii  sane-utils                   1.0.19-26   API library for scanners -- utilit

Versions of packages hplip suggests:
ii  gtklp                         1.2.3-1.1  printing tool for CUPS on the GNOM
ii  hplip-doc                     2.8.12-3   HP Linux Printing and Imaging - do
pn  hplip-gui                     <none>     (no description available)
pn  openprinting-ppds             <none>     (no description available)

-- no debconf information

Other possibly relevant packages:
pn  cupsomatic-ppd <none>         (no description available)
pn  foomatic-bin   <none>         (no description available)
ii  foomatic-db    20090301-2     OpenPrinting printer support - database
ii  foomatic-db-en 4.0-20090301-1 OpenPrinting printer support - programs
pn  foomatic-db-gi <none>         (no description available)
pn  foomatic-db-gu <none>         (no description available)
ii  foomatic-db-hp 20090301-1     OpenPrinting printer support - database for 
ii  foomatic-filte 4.0-20090301-3 OpenPrinting printer support - filters
pn  foomatic-filte <none>         (no description available)
pn  foomatic-gui   <none>         (no description available)
pn  gnustep-ppd    <none>         (no description available)
pn  hp-ppd         <none>         (no description available)
pn  hpijs-ppds     <none>         (no description available)
pn  hplip-ppds     <none>         (no description available)
pn  ipppd          <none>         (no description available)
pn  libppd-dev     <none>         (no description available)
ii  libppd0        2:0.10-7       postscript PPD file library
pn  linuxprinting. <none>         (no description available)
pn  lpr-ppd        <none>         (no description available)
pn  openprinting-p <none>         (no description available)
pn  ppd-gs         <none>         (no description available)
ii  ppdfilt        2:0.10-7       filter that inserts printer specific command
pn  pppdcapiplugin <none>         (no description available)
pn  printfilters-p <none>         (no description available)
pn  python-foomati <none>         (no description available)




Reply to: