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

Bug#301119: marked as done (cupsys: strips Charset part from LANG environment variable passed to filter)



Your message dated Sun, 16 Nov 2008 16:46:54 +0100
with message-id <20081116154654.GA9103@piware.de>
and subject line Re: Bug#301119: cupsys: strips Charset part from LANG environment variable passed to filter
has caused the Debian Bug report #301119,
regarding cupsys: strips Charset part from LANG environment variable passed to filter
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
immediately.)


-- 
301119: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=301119
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cupsys
Version: 1.1.23-7
Severity: important

It made unusable filters which depends on LANG environment variable to handle postscript
file generation. For example the a2ps filter (under foomatic-rip) used "C" locale even
I used "ru_RU.KOI8-R".
Test filter produced next output:

    echo -e "Env:\t$CHARSET, $CONTENT_TYPE, $CUPS_DATADIR, $CUPS_SERVERROOT, $DEVICE_URI"  >> /tmp/$SCRIPT.trace
    echo -e "    \t$LANG, $PATH, $PPD, $PRINTER, $RIP_CACHE, $SOFTWARE, $TZ, $USER" >> /tmp/$SCRIPT.trace
    ---
    Env:    koi8-r, text/plain, /usr/share/cups, /etc/cups, socket://xxx.xxx.xxx.xxx:9100
            ru_RU, /usr/lib/cups/filter:/bin:/usr/bin, /etc/cups/ppd/hplj_4100.ppd, hplj_4100, , CUPS/1.1, Europe/Moscow, user
            ^^^^^

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages cupsys depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  debconf                     1.4.42       Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libcupsimage2               1.1.23-3     Common UNIX Printing System(tm) - 
ii  libcupsys2-gnutls10         1.1.23-3     Common UNIX Printing System(tm) - 
ii  libgnutls11                 1.0.16-13    GNU TLS library - runtime library
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  libpaper1                   1.1.14-3     Library for handling paper charact
ii  libslp1                     1.0.11-7     OpenSLP libraries
ii  patch                       2.5.9-2      Apply a diff file to an original
ii  perl-modules                5.8.4-5      Core Perl modules
ii  xpdf-utils                  3.00-12      Portable Document Format (PDF) sui
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, lpd, parallel, socket


--- End Message ---
--- Begin Message ---
Version: 1.3.9-1

Hello Alex,

alex@topconps.org [2005-03-24  0:22 +0300]:
> It made unusable filters which depends on LANG environment variable to handle postscript
> file generation. For example the a2ps filter (under foomatic-rip) used "C" locale even
> I used "ru_RU.KOI8-R".
> Test filter produced next output:
> 
>     echo -e "Env:\t$CHARSET, $CONTENT_TYPE, $CUPS_DATADIR, $CUPS_SERVERROOT, $DEVICE_URI"  >> /tmp/$SCRIPT.trace
>     echo -e "    \t$LANG, $PATH, $PPD, $PRINTER, $RIP_CACHE, $SOFTWARE, $TZ, $USER" >> /tmp/$SCRIPT.trace
>     ---
>     Env:    koi8-r, text/plain, /usr/share/cups, /etc/cups, socket://xxx.xxx.xxx.xxx:9100
>             ru_RU, /usr/lib/cups/filter:/bin:/usr/bin, /etc/cups/ppd/hplj_4100.ppd, hplj_4100, , CUPS/1.1, Europe/Moscow, user

This seems to be fixed in the current version. If I print something
and enable debug logging, I get

  D [16/Nov/2008:16:43:43 +0100] [Job 8] envp[18]="LANG=de_DE.UTF8"

in the debug log. Thus I close this report now. Thank you!

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


--- End Message ---

Reply to: