hp-toolbox and others fail to find cups printers due to charset issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Invalid
|
Undecided
|
Unassigned | ||
hplip (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Distro: Gentoo
Printer: HP Photosmart D7160
My problem is that none of the hplip tools are able to detect my cups printers. I've traced to issue down to the cupsext module.
The call to cupsext.
I used strace for extra information, and noticed error messages in the cups http response about an unsupported character set (iso-8859-1).
Running e.g. hp-toolbox as
$ LANG=C hp-toolbox
works.
My normal locale is no_NO.
Trying to provoke this error by calling cupsext.
The attached hp-check.log is run using my normal locale (no_NO), when run with LANG=C, it is able to find printers. For some reason, running hp-check as root allways fails to find the printers, no matter how I set the LANG variable, while as a normal user, setting LANG=C works.
Changed in hplip: | |
assignee: | nobody → kalosaurusrex |
status: | New → Triaged |
Hello Eivind,
Thank you for submitting this bug and reporting a problem with hplip. You made this bug report some time ago and Ubuntu and hplip have been updated since then.
Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know and, in the current version, could you run the following (only once):
apport-collect 308257
and upload the updated logs and and any other logs that are relevant for this particular issue.
Thank you again for helping make Ubuntu and hplip better.
G