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

Bug#471166: marked as done (python-apt: Translated descriptions are truncated on non-ascii characters)



Your message dated Fri, 25 Sep 2009 18:32:12 +0000
with message-id <E1MrFaW-0003j2-2d@ries.debian.org>
and subject line Bug#545208: fixed in apt 0.7.24
has caused the Debian Bug report #545208,
regarding python-apt: Translated descriptions are truncated on non-ascii characters
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.)


-- 
545208: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545208
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-apt
Version: 0.7.5
Severity: normal

Hello,

thanks for python-apt.  I'm trying to use it to read translated
descriptions to index them in apt-xapian-index, but I stumbled on this:

$ ipython
import locale
import apt
locale.setlocale(locale.LC_MESSAGES, "it_IT.UTF-8")
c = apt.Cache()
c["zip"].description

gives:

Out[11]: u'Acrhiviatore di file .zip\nQuesto\n'

apt-cache show zip gives instead:

 Description: Acrhiviatore di file .zip
  Questo è il programma zip di InfoZIP. Produce file che sono pienamente
  compatibili con il programma popolare PKZIP; comunque, le opzioni a
  riga di comando non sono identiche. In altre parole, il risultato
  finale è lo stesso ma i metodi differiscono. :-)
  .
  Questa versione supporta la crittografia. 


Ciao,

Enrico

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-apt depends on:
ii  apt [libapt-pkg-libc6.7-6- 0.7.11        Advanced front-end for dpkg
ii  apt-utils [libapt-inst-lib 0.7.11        APT utility programs
ii  libc6                      2.7-6         GNU C Library: Shared libraries
ii  libgcc1                    1:4.3.0~rc2-1 GCC support library
ii  libstdc++6                 4.3.0~rc2-1   The GNU Standard C++ Library v3
ii  lsb-release                3.1-24        Linux Standard Base version report
ii  python                     2.4.4-6       An interactive high-level object-o
ii  python-central             0.5.15-0.1    register and build utility for Pyt

python-apt recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.24

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

apt-doc_0.7.24_all.deb
  to pool/main/a/apt/apt-doc_0.7.24_all.deb
apt-transport-https_0.7.24_i386.deb
  to pool/main/a/apt/apt-transport-https_0.7.24_i386.deb
apt-utils_0.7.24_i386.deb
  to pool/main/a/apt/apt-utils_0.7.24_i386.deb
apt_0.7.24.dsc
  to pool/main/a/apt/apt_0.7.24.dsc
apt_0.7.24.tar.gz
  to pool/main/a/apt/apt_0.7.24.tar.gz
apt_0.7.24_i386.deb
  to pool/main/a/apt/apt_0.7.24_i386.deb
libapt-pkg-dev_0.7.24_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.7.24_i386.deb
libapt-pkg-doc_0.7.24_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.7.24_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 545208@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt 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 ftpmaster@debian.org)


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

Format: 1.8
Date: Fri, 25 Sep 2009 19:57:25 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all i386
Version: 0.7.24
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 441608 473461 503481 509866 513058 544017 545059 545208 545694 547599 547788
Changes: 
 apt (0.7.24) unstable; urgency=low
 .
   [ Nicolas François ]
   * Cleaned up the first patch draft from KURASAWA Nozomu to finally
     get po4a support for translating the man pages.
     Many thanks to both for this excellent work! (Closes: #441608)
   * doc/ja/*, doc/po/ja.po:
     - remove the old ja man page translation and replace it with
       the new po4a-powered translation by KURASAWA Nozomu.
   * doc/*.?.xml (manpages):
     - add contrib to author tags and also add refmiscinfo to fix warnings
   * doc/style.txt, buildlib/defaults.mak, buildlib/manpage.mak:
     - fix a few typos in the comments of this files
 .
   [ Michael Vogt ]
   * apt-pkg/deb/dpkgpm.cc:
     - when tcgetattr() returns non-zero skip all pty magic
       (thanks to Simon Richter, closes: #509866)
   * apt-inst/contrib/arfile.cc:
     - show propper error message for Invalid archive members
 .
   [ David Kalnischkies ]
   * doc/Doxyfile.in:
     - update file with doxygen 1.6.1 (current unstable)
     - activate DOT_MULTI_TARGETS, it is default on since doxygen 1.5.9
   * buildlib/po4a_manpage.mak, doc/makefile, configure:
     - simplify the makefiles needed for po4a manpages
   * apt-pkg/contrib/configuration.cc:
     - add a helper to easily get a vector of strings from the config
   * apt-pkg/contrib/strutl.cc:
     - replace unknown multibytes with ? in UTF8ToCharset (Closes: #545208)
   * doc/apt-get.8.xml:
     - fix two little typos in the --simulate description. (Closes: #545059)
   * apt-pkg/aptconfiguration.cc, doc/apt.conf.5.xml:
     - add an order subgroup to the compression types to simplify reordering
       a bit and improve the documentation for this option group.
   * doc/apt.conf.5.xml:
     - document the Acquire::http::Dl-Limit option
     - try to be crystal clear about the usage of :: and {} (Closes: #503481)
   * doc/apt-cache.8.xml:
     - clarify the note for the pkgnames command (Closes: #547599)
   * doc/apt.ent, all man pages:
     - move the description of files to globally usable entities
   * doc/apt_preferences.5.xml:
     - document the new preferences.d folder (Closes: #544017)
   * methods/rred.cc:
     - add at the top without failing (by Bernhard R. Link, Closes: #545694)
   * buildlib/sizetable:
     - add amd64 for cross building (by Mikhail Gusarov, Closes: #513058)
   * debian/prerm:
     - remove file as nobody will upgrade from 0.4.10 anymore
   * debian/control:
     - remove gnome-apt suggestion as it was removed from debian
   * apt-pkg/deb/dpkgpm.cc, apt-pkg/packagemanager.cc, apt-pkg/orderlist.cc:
     - add and document _experimental_ options to make (aggressive)
       use of dpkg's trigger and configuration handling (Closes: #473461)
   * cmdline/apt-get.cc:
     - ignore versions that are not candidates when selecting a package
       instead of a virtual one (by Marius Vollmer, Closes: #547788)
 .
   [ Christian Perrier ]
   * doc/fr/*, doc/po/fr.po:
     - remove the old fr man page translation and replace it with
       the new po4a-powered translation
   * doc/de: dropped (translation is too incomplete to be useful in
       the transition to the po4a-powered translations)
Checksums-Sha1: 
 4b8e68c3ff313502e1529574fab875f9794ebeda 1225 apt_0.7.24.dsc
 fbc20da6f663bd0337ab8b7bb2f57ccba943a927 2161181 apt_0.7.24.tar.gz
 b01dff34ecbbc2c44392e172862a701a917e4bd4 105348 apt-doc_0.7.24_all.deb
 32989cbf46fb4c899e14bb9d956256bb1af8507a 129802 libapt-pkg-doc_0.7.24_all.deb
 5291c628f92e04388a0b9d757a286c3beab2c345 1671724 apt_0.7.24_i386.deb
 cbf4f6b50e312f52f23c3bd0f50be93099116517 116852 libapt-pkg-dev_0.7.24_i386.deb
 bacc5467ea11aeba0143b8a4aab48776d9058314 204306 apt-utils_0.7.24_i386.deb
 b7a04bafbd4f42abe5dfbb1e4080977418eefdbd 64224 apt-transport-https_0.7.24_i386.deb
Checksums-Sha256: 
 4de60f23d78c8bf88294e3620f346111d220d593817f059ba8983edbd3a50b82 1225 apt_0.7.24.dsc
 7eebf66a5786f2003e28699d963756e2b3e93871de41663fec4cc556d17b1d0c 2161181 apt_0.7.24.tar.gz
 77baac7f2cacca53f1a0e0d5e6d7fbb009a7031caa6c02bdc2a480d7b1a94468 105348 apt-doc_0.7.24_all.deb
 b56eec90084a6476392ef5d9302c9c20fa39c183a023eb2d2794b50fc8e94390 129802 libapt-pkg-doc_0.7.24_all.deb
 d589a091fa59b8b6fe14f9e852dcf8d7d6d187628a392f0e89e0da2d744162c9 1671724 apt_0.7.24_i386.deb
 1a332227d1aa38ccda8a8c54e8221109173aa69530a94d9e54270398b4bfeb5d 116852 libapt-pkg-dev_0.7.24_i386.deb
 82863a2efffd55a4f1b436621b246093a1d1d8334c2f8325573f64d8fd7bec18 204306 apt-utils_0.7.24_i386.deb
 2187814e33d79e47cd150f1f29875db995cdacf19ef72daae35f9e4b9a51950a 64224 apt-transport-https_0.7.24_i386.deb
Files: 
 27c79ab1abf67e8a74f1ba199110df30 1225 admin important apt_0.7.24.dsc
 4656d2b3c09696a07470e0e6e6f066db 2161181 admin important apt_0.7.24.tar.gz
 c8a166f4d9fa8007eeeebedd5521ad02 105348 doc optional apt-doc_0.7.24_all.deb
 8f7cfb248e57ecdc45dfdd9f9a7a5d0b 129802 doc optional libapt-pkg-doc_0.7.24_all.deb
 b67f055746ac4d07ffc27df8f3cbc29f 1671724 admin important apt_0.7.24_i386.deb
 4139924c977069d29decf2980a2101b9 116852 libdevel optional libapt-pkg-dev_0.7.24_i386.deb
 9e0e4b29cb995cab0ed19d2da1a24123 204306 admin important apt-utils_0.7.24_i386.deb
 fe24f8c4e6237116ff0b6dc1088f3ca4 64224 admin optional apt-transport-https_0.7.24_i386.deb

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

iEYEARECAAYFAkq9CtoACgkQliSD4VZixzTmfQCghqi+Y57PuGE9mgCrwvwzKtRE
z1YAn0T6YVDmYh5gO6zFnpQ1uc51MFk5
=9uKf
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: