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

Bug#600447: Non UTF8/En locales bug reappeared (renders hplip useless for non US/UTF8 users)



Package: hplip
Version: 3.10.6-1
Severity: important
Tags: patch


In 3.10.6-1 there is still a serious issue with CUPS *requiring* either
an US-ASCII locale, or a UTF8 locale. As a consequence, all programs
communicating with CUPS to discuver printers/install printers, and the
like, fail miserably with errors of various kind, like hp-setup not
finding the printer (#515720), or not finding the proper PPD files, hp-clean
complaining that there is no printer, etc.

These extra errors *all* come from the inability of the hplip tools
to communicate properly with CUPS, because the locale forces an
encoding of the messages in a format that CUPS refuses to interpret.

According to what is said in #471228, CUPS is not going to change this
behaviour, so hplip needs to do either:

 * be patched to convert everything to UTF8 no matter what the user's 
   locale is, as done in hplip-2.8.12-force-utf8.patch submitted by 
   Tiago Salem Herrmann (ref: https://bugs.launchpad.net/bugs/162196)
   that was used in 3.9.2, but is gone in 3.10.6-1

 * or at least pop up a warning box if it detects a non UTF8 locale
   telling the user that it will not work with CUPS without an UTF8 locale
   (and saving the user, the Debian maintainers, and a lot of other
   people a sizeable amount of time)

-- 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, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/bash

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-3    Common UNIX Printing System(tm) - 
ii  cups-client                   1.4.4-3    Common UNIX Printing System(tm) - 
ii  hplip-cups                    3.10.6-1   HP Linux Printing and Imaging - CU
ii  hplip-data                    3.10.6-1   HP Linux Printing and Imaging - da
ii  libc6                         2.11.2-6   Embedded GNU C Library: Shared lib
ii  libcups2                      1.4.4-3    Common UNIX Printing System(tm) - 
ii  libdbus-1-3                   1.2.24-3   simple interprocess messaging syst
ii  libhpmud0                     3.10.6-1   HP Multi-Point Transport Driver (h
ii  libsane                       1.0.21-4   API library for scanners
ii  libsane-hpaio                 3.10.6-1   HP SANE backend for multi-function
ii  libssl0.9.8                   0.9.8o-2   SSL shared libraries
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip
ii  policykit-1                   0.96-3     framework for managing administrat
ii  python                        2.6.5-13   interactive high-level object-orie
ii  python-dbus                   0.83.1-1   simple interprocess messaging syst
ii  python-imaging                1.1.7-2    Python Imaging Library
ii  python-pexpect                2.3-1      Python module for automating inter
ii  python-support                1.0.10     automated rebuilding support for P

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

Versions of packages hplip suggests:
pn  hplip-doc        <none>                  (no description available)
ii  hplip-gui        3.10.6-1                HP Linux Printing and Imaging - GU
ii  kdeprint         4:3.5.9.dfsg.1-6+lenny1 print system for KDE
ii  python-notify    0.1.1-2+b2              Python bindings for libnotify

-- no debconf information




Reply to: