[Pkg-hpijs-devel] Bug#581920: hp-setup crashes in line 306 of mdns.py

Dale A. Harris dah2016 at med.cornell.edu
Thu Jul 8 21:14:50 UTC 2010


Package: hplip
Version: 3.10.5-4
Severity: normal


I see a slightly different error message on my system:

Traceback (most recent call last):
  File "/usr/bin/hp-setup", line 336, in <module>
    device_uri = mod.getDeviceUri(device_uri, devices=device.probeDevices(bus))
  File "/usr/share/hplip/base/device.py", line 469, in probeDevices
    detected_devices = mdns.detectNetworkDevices(ttl, timeout)
  File "/usr/share/hplip/base/mdns.py", line 311, in detectNetworkDevices
    y['device1'] = "MFG:Hewlett-Packard;MDL:%s;CLS:PRINTER;" % txt['ty']
KeyError: 'ty'


I'm running hp-setup -i and scanning for a network printer.


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

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hplip depends on:
ii  adduser                       3.112      add and remove users and groups
ii  coreutils                     8.5-1      GNU core utilities
ii  cups                          1.4.4-1    Common UNIX Printing System(tm) - 
ii  cups-client                   1.4.4-1    Common UNIX Printing System(tm) - 
ii  hplip-cups                    3.10.5-4   HP Linux Printing and Imaging - CU
ii  hplip-data                    3.10.5-4   HP Linux Printing and Imaging - da
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libcups2                      1.4.4-1    Common UNIX Printing System(tm) - 
ii  libdbus-1-3                   1.2.24-1   simple interprocess messaging syst
ii  libhpmud0                     3.10.5-4   HP Multi-Point Transport Driver (h
ii  libsane                       1.0.21-2   API library for scanners
ii  libssl0.9.8                   0.9.8o-1   SSL shared libraries
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip
ii  policykit-1                   0.96-2     framework for managing administrat
ii  python                        2.6.5-5    An interactive high-level object-o
ii  python-dbus                   0.83.1-1   simple interprocess messaging syst
ii  python-imaging                1.1.7-1+b1 Python Imaging Library
ii  python-pexpect                2.3-1      Python module for automating inter
ii  python-support                1.0.9      automated rebuilding support for P

Versions of packages hplip recommends:
ii  avahi-daemon                  0.6.25-4   Avahi mDNS/DNS-SD daemon
ii  sane-utils                    1.0.21-2   API library for scanners -- utilit

Versions of packages hplip suggests:
pn  hplip-doc                     <none>     (no description available)
ii  hplip-gui                     3.10.5-4   HP Linux Printing and Imaging - GU
pn  kdeprint | gtklp | xpp        <none>     (no description available)
ii  python-notify                 0.1.1-2+b2 Python bindings for libnotify

-- no debconf information





More information about the Pkg-hpijs-devel mailing list