hp-print fails to open paths with non-ascii characters (fix expected in 1.6.9)

Bug #47306 reported by iouri
12
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: hplip

When I try to add a file, the name of which contains non-ascii characters (e.g. "/home/data/Photos numériques/2006_01_01/01_02_57.jpg"), using the "Add file to list" button of hp-print GUI, I get the following error in the terminal:
++
Traceback (most recent call last):
  File "/usr/lib/hplip/ui/printerform.py", line 239, in addFileButton_clicked
    log.debug("results: %s" % results)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in
position 21: ordinal not in range(128)
++
and the file is not added to the list.

This does not occur if I lauch hp-print by appending the filename :
++
$ hp-print -dprinter "/home/data/Photos numériques/2006_01_01/01_02_57.jpg"
++
opens hp-print with file "/home/data/Photos numériques/2006_01_01/01_02_57.jpg" already in the list, and then I can print using the "Print" button.

Revision history for this message
dwelch91 (dwelch91) wrote :

This has been fixed in HPLIP 1.6.9, due out Sept. 15th.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

According to HP, this release should fix the bug.

Changed in hplip:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.