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

Bug#440685: marked as done (lp error when charset != UTF-8 or ASCII and filename with umlaut)

Your message dated Fri, 17 May 2013 23:18:57 +0300 (EEST)
with message-id <20130517201857.86508C2CBE@sid.nuvreauspam>
and subject line Bug #473198 filed against cupsys (or a related package)
has caused the Debian Bug report #473198,
regarding lp error when charset != UTF-8 or ASCII and filename with umlaut
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

473198: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473198
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cupsys-client
Version: 1.3.0-3
Severity: normal

--- Please enter the report below this line. ---
export LANG=de_DE
> töstnäme.txt
lp töstnäme.txt

gives 'lp: Fehler - Kann auf "töstnäme.txt" nicht zugreifen - Datei
oder Verzeichnis nicht gefunden'
(file not found)

lp (and other cups programs like lpr from cupsys-bsd) encodes all
command line args in UTF-8 with _cupsSetLocale(argv) before processing
them. Then it tries to access the modified file names.

LANG=C lp töstnäme.txt

seems to work. A proper fix in cups would probably be to encode the file
names into the system charset before using them in system calls (or not
modifying the names at all...).

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.21-2-686

Debian Release: lenny/sid
  500 unstable        ftp.de.debian.org 
  500 testing         security.debian.org 
  500 testing         ftp.de.debian.org 

--- Package information. ---
Depends                       (Version) | Installed
libc6                        (>= 2.6-1) | 2.6.1-1
libcupsimage2                (>= 1.3.0) | 1.3.0-3
libcupsys2                   (>= 1.3.0) | 1.3.0-3
libgnutls13                (>= 1.6.3-0) | 1.6.3-1
zlib1g            (>= 1: | 1:
cupsys-common                           | 1.2.11-3
adduser                                 | 3.100

--- End Message ---
--- Begin Message ---
Version: 1.4.4-1


Some (long) time ago you filed this bug against cupsys or a related 
package. In the meantime the cupsys package has been renamed to cups and 
this bug was "lost". Since it is quite old now it is being closed.

If the issue you encountered is still present in recent cups packages 
(as released with Debian 7.0 wheezy for example) the CUPS maintainers 
would very much appreciate a fresh report using

    reportbug <package>

(you should also mention the number of this bug if you think it contains 
valuable information).

Please note that further information sent to this bug is likely to 
remain unread, because the bug is currently not assigned to any existing 

Thank you for taking time to report bugs found in Debian packages.

Kind regards,
Andrei (with no relation to CUPS maintenance)

--- End Message ---

Reply to: