`hp-check -t` fails with non-English locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
Output of `locale`:
LANG=de_DE.UTF-8
LANGUAGE=de_DE:en
LC_CTYPE=
LC_NUMERIC=
LC_TIME=de_DE.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=de_DE.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
Output of `lpstat -pXerox-
printer Xerox-Phaser-8560 is idle. enabled since Mi 02 Mär 2016 18:35:32 CET
Output of `hp-check -t` (truncated):
Saving output in log file: /home/stefan/
HP Linux Imaging and Printing System (ver. 3.16.3)
Dependency/Version Check Utility ver. 15.1
...
Xerox-Phaser-8560
-----------------
Type: Unknown
Device URI: socket:
PPD: /etc/cups/
PPD Description: Xerox Phaser 8560DN
Printer status: printer Xerox-Phaser-8560 is idle. enabled since Mi 02 Mär 2016 18:35:32 CET
Traceback (most recent call last):
File "/usr/bin/
num_errors, num_warns = core.validate(
File "/usr/bin/
log.
File "/usr/share/
self.
File "/usr/share/
self.
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 96: ordinal not in range(128)
Output of `lsb_release -a`:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
NB: Running `LANG=en lpstat -pXerox-