Your message dated Sun, 19 Sep 2010 13:32:06 +0000
with message-id <[email protected]>
and subject line Bug#511448: fixed in apt-listchanges 2.85.4
has caused the Debian Bug report #511448,
regarding apt_listchanges.py throws 'locale utf_8_euro not found'
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 [email protected]
immediately.)


-- 
511448: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511448
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-listchanges
Version: 2.83
Severity: normal


Hello!

If you use locales like "de_de.ut...@euro", the script
/usr/share/apt-listchanges/apt_listchanges.py
throws an exception ("LookupError: unknown encoding: utf_8_euro"),
because of the (incorrect) use of "locale.getdefaultlocale()[1]" in
lines 93 and 165 in apt_listchanges.py. Python can't know all the
possible locales on all possible systems. So the recommended way
is locale.getpreferredencoding(), which uses the systems API.

After changing that in lines 93 and 165 in 
/usr/share/apt-listchanges/apt_listchanges.py the error disappears.

See:
http://mail.python.org/pipermail/python-list/2008-May/493997.html

HTH and Greetings, J"o!

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (991, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-grml (SMP w/1 CPU core; PREEMPT)
Locale: lang=de_de.ut...@euro, lc_ctype=de_de.ut...@euro (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Don't hate yourself in the morning -- sleep till noon.





--- End Message ---
--- Begin Message ---
Source: apt-listchanges
Source-Version: 2.85.4

We believe that the bug you reported is fixed in the latest version of
apt-listchanges, which is due to be installed in the Debian FTP archive:

apt-listchanges_2.85.4.dsc
  to main/a/apt-listchanges/apt-listchanges_2.85.4.dsc
apt-listchanges_2.85.4.tar.gz
  to main/a/apt-listchanges/apt-listchanges_2.85.4.tar.gz
apt-listchanges_2.85.4_all.deb
  to main/a/apt-listchanges/apt-listchanges_2.85.4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <[email protected]> (supplier of updated apt-listchanges package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 19 Sep 2010 15:19:16 +0200
Source: apt-listchanges
Binary: apt-listchanges
Architecture: source all
Version: 2.85.4
Distribution: unstable
Urgency: low
Maintainer: Pierre Habouzit <[email protected]>
Changed-By: Sandro Tosi <[email protected]>
Description: 
 apt-listchanges - package change history notification tool
Closes: 456271 511448 593224
Changes: 
 apt-listchanges (2.85.4) unstable; urgency=low
 .
   [ Pierre Habouzit ]
   * make apt-listchange interruptible by ^C (Closes: #456271)
   * Use pythonism to guess the encoding to use (Closes: #511448) -
     thanks to Joerg Woelke <[email protected]>
 .
   [ Sandro Tosi ]
   * Updated French translation; thanks to Christian Perrier; Closes:
     #593224
Checksums-Sha1: 
 cffdd3cbabec16cdb5a6d832836d51288f6f8678 1090 apt-listchanges_2.85.4.dsc
 c2e01cf45425de3e8233654d3874124c61698fbc 103375 apt-listchanges_2.85.4.tar.gz
 72ffaa525d8f9d66649988bd76a0f38e8158701f 83582 apt-listchanges_2.85.4_all.deb
Checksums-Sha256: 
 5d19a030975349b9f77cefea311b81212a9d2e67c54db747d26fdad476412e3c 1090 
apt-listchanges_2.85.4.dsc
 dc93d06ad03aa6389939b97d488bdd399bc287a6351dd3c9fec41f67618a942f 103375 
apt-listchanges_2.85.4.tar.gz
 89e4ed11472a7d5759b1707c04c76ffe7090f36ecd02adf4ed607f84f63e8f8b 83582 
apt-listchanges_2.85.4_all.deb
Files: 
 4532b359384273af94c8e918e2dcad89 1090 utils standard apt-listchanges_2.85.4.dsc
 8020505c6edaa18fe439361433197587 103375 utils standard 
apt-listchanges_2.85.4.tar.gz
 162ccbd564de718049b0fd0b919d7101 83582 utils standard 
apt-listchanges_2.85.4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkyWDs0ACgkQAukwV0RN2VA+iACfXMpnLAytzY4jKXkQj7bfl2yv
z4kAn0/2owb9bw61Q6z+PXbIdBUBUbzH
=NKaH
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to