[Pkg-hpijs-devel] Bug#587981: hplip: hp-* tools stop working since python default version is 2.6.5 in testing

Gilles Crevecoeur gilles.crevecoeur at gmail.com
Sat Jul 3 14:08:28 UTC 2010


Package: hplip
Version: 3.10.5-1
Severity: normal

Hi,
Since the ptyhon version is 2.6.5 in testing the hp-* tools stop
working. The error  message is :
Traceback (most recent call last):
  File "/usr/bin/hp-info", line 36, in <module>
    from base import device, status, utils, tui, module
  File "/usr/share/hplip/base/device.py", line 37, in <module>
    import status
  File "/usr/share/hplip/base/status.py", line 40, in <module>
    import hpmudext
ImportError: No module named hpmudext

The file hpmudext.so is not present in python2.6/dist-packages
This is the case of others files provide by the hplip package :

/usr/lib/python2.5/site-packages/scanext.la
/usr/lib/python2.5/site-packages/hpmudext.so
/usr/lib/python2.5/site-packages/hpmudext.la
/usr/lib/python2.5/site-packages/pcardext.so
/usr/lib/python2.5/site-packages/pcardext.la
/usr/lib/python2.5/site-packages/scanext.so
/usr/lib/python2.5/site-packages/cupsext.so
/usr/lib/python2.5/site-packages/cupsext.la

So, to fix this I have  symlink these files in
/usr/lib/python2.6/dist-packages/
it seems to work for the moment.



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

Kernel: Linux 2.6.33.4-e1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.3-1    Common UNIX Printing System(tm) - 
ii  cups-client                   1.4.3-1    Common UNIX Printing System(tm) - 
ii  hplip-data                    3.10.5-1   HP Linux Printing and Imaging - da
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libcups2                      1.4.3-1    Common UNIX Printing System(tm) - 
ii  libdbus-1-3                   1.2.24-1   simple interprocess messaging syst
ii  libhpmud0                     3.10.5-1   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

Versions of packages hplip recommends:
pn  avahi-daemon                  <none>     (no description available)
ii  hpijs                         3.10.5-1   HP Linux Printing and Imaging - gs
ii  sane-utils                    1.0.21-2   API library for scanners -- utilit

Versions of packages hplip suggests:
ii  gtklp                1.2.7-2             printing tool for CUPS on the GNOM
ii  hplip-doc            3.10.5-1            HP Linux Printing and Imaging - do
ii  hplip-gui            3.10.5-1            HP Linux Printing and Imaging - GU
ii  xpp                  1.5-cvs20050828-1.1 X Printing Panel

-- no debconf information





More information about the Pkg-hpijs-devel mailing list