Your message dated Sun, 18 Jul 2010 09:19:02 +0000
with message-id <e1oaq1w-0005s8...@franck.debian.org>
and subject line Bug#588983: fixed in python-feedvalidator 0~svn1022-2
has caused the Debian Bug report #588983,
regarding python-feedvalidator: errors out with ImportError: No module named 
....
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 ow...@bugs.debian.org
immediately.)


-- 
588983: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588983
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-feedvalidator
Version: 0~svn1022-1
Severity: grave
Tags: l10n
Justification: renders package unusable

The issue is that with Debian squeeze /etc/default/locale now defines
LANGUAGE.  On my system that file looks like this

#  File generated by update-locale
#LANG=en_CA.UTF-8
LANGUAGE="en_CA:en"

The result is that LANGUAGE string is supplied as an environment
variable to all users which kills feedvalidator completely.

Here is the locale and the associated typical error for one of the
users on this system:

barb...@raven> locale |grep LANG
LANG=en_CA.UTF-8
LANGUAGE=en_CA:en

barb...@raven> feedvalidator highlights.atom
Validating file:///home/barbara/linuxlinks/loll/highlights.atom
Traceback (most recent call last):
  File "/usr/bin/feedvalidator", line 101, in <module>
    main()
  File "/usr/bin/feedvalidator", line 97, in main
    run()
  File "/usr/bin/feedvalidator", line 47, in run
    from feedvalidator.formatter.text_plain import Formatter
  File "/usr/lib/pymodules/python2.6/feedvalidator/formatter/text_plain.py", 
line 9, in <module>
    from base import BaseFormatter
  File "/usr/lib/pymodules/python2.6/feedvalidator/formatter/base.py", line 12, 
in <module>
    lang = __import__('feedvalidator.i18n.%s' % LANGUAGE, globals(), locals(), 
LANGUAGE)
ImportError: No module named en_CA:en

A quick look at the package list for python-feedvalidator indicates
the only i18n module there is called en.py.  Indeed a workaround for
this issue is to set the LANGUAGE environment variable as follows:

LANGUAGE=en

before running feedvalidator.  But unless people figure that out,
this bug means that nobody can use feedvalidator which is why I
have classified this as a grave error.

A quick look at en.py indicates it contains english error messages for
feedvalidator.  If there is no prospect of translating those to
other languages, then I suggest simply importing that module
directly in /usr/lib/pymodules/python2.6/feedvalidator/formatter/base.py
without fooling around with LANGUAGE at all.  Otherwise, you could do
something more complicated like use only the first two characters
of LANGUAGE to identify the language and store those in LA and
use that variable instead, but then if it fails to import
LA.py, fall back to en.py.

But without one of those fixes, python-feedvalidator will be broken
for everybody who is not aware of the "LANGUAGE=en" workaround.

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

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-feedvalidator depends on:
ii  python                      2.6.5-5      An interactive high-level object-o
ii  python-libxml2              2.7.7.dfsg-4 Python bindings for the GNOME XML 
ii  python-rdflib               2.4.2-1+b1   RDF library containing an RDF trip
ii  python-support              1.0.9        automated rebuilding support for P

python-feedvalidator recommends no packages.

python-feedvalidator suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: python-feedvalidator
Source-Version: 0~svn1022-2

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

python-feedvalidator_0~svn1022-2.diff.gz
  to main/p/python-feedvalidator/python-feedvalidator_0~svn1022-2.diff.gz
python-feedvalidator_0~svn1022-2.dsc
  to main/p/python-feedvalidator/python-feedvalidator_0~svn1022-2.dsc
python-feedvalidator_0~svn1022-2_all.deb
  to main/p/python-feedvalidator/python-feedvalidator_0~svn1022-2_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 588...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jakub Wilk <jw...@debian.org> (supplier of updated python-feedvalidator 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 18 Jul 2010 11:03:32 +0200
Source: python-feedvalidator
Binary: python-feedvalidator
Architecture: source all
Version: 0~svn1022-2
Distribution: unstable
Urgency: medium
Maintainer: Noah Slater <nsla...@tumbolia.org>
Changed-By: Jakub Wilk <jw...@debian.org>
Description: 
 python-feedvalidator - library and tool for validating syndication feeds
Closes: 588983
Changes: 
 python-feedvalidator (0~svn1022-2) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Noah Slater ]
   * Updated debian/control, updated Vcs-Browser.
   * Updated debian/control, updated Build-Depends on debhelper to 7.2.11.
 .
   [ Jakub Wilk ]
   * Upstream support for multiple languages is broken. Always use “en” as
     language (closes: #588983).
   * Bump standards version to 3.9.0, no changes needed.
Checksums-Sha1: 
 de63b850d039782cca6654ba793ce743fc751d05 2102 
python-feedvalidator_0~svn1022-2.dsc
 49d7befa16d3004e832b3834c8453ff689e80027 4731 
python-feedvalidator_0~svn1022-2.diff.gz
 fb27989565c1c46faa6a1e7d7c457e9b9a55c6d1 86986 
python-feedvalidator_0~svn1022-2_all.deb
Checksums-Sha256: 
 54a32cc041efb4beed615c0840f0ee900bf53f54fe1f06f2614e716485db8357 2102 
python-feedvalidator_0~svn1022-2.dsc
 58cc782f95a0d9c772827d0644f52efa430e7de43b15aae9580159c40640c413 4731 
python-feedvalidator_0~svn1022-2.diff.gz
 4a30b7f25c1c2c665e5f2eea7b9ebde068184925acaeef17ff030ccc8d17d811 86986 
python-feedvalidator_0~svn1022-2_all.deb
Files: 
 841cbc764b0e1b31abcd759430b73980 2102 python optional 
python-feedvalidator_0~svn1022-2.dsc
 914243af721096fe4295d10f9d7450de 4731 python optional 
python-feedvalidator_0~svn1022-2.diff.gz
 6b0451398559a2094c77948568853214 86986 python optional 
python-feedvalidator_0~svn1022-2_all.deb

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

iQIcBAEBCAAGBQJMQsSwAAoJEC1Os6YBVHX18G0QAJK3m2F2RY61x12siqkatW+B
H1mQoGizbIg+qU+G4HTppPOn7PaGOrEO1e1NnLBFl5aLfN/lvwD3wgoWMUhNH3uh
LNp8sTMUIGb//Uonaw0f9hpMzqwyBa7PIvEXh3CHaamGFdyr0IS0ZK0sPx3dq7NU
Sw7kcZn8NX/GmCoesn3pESBkMA5AWKupBdoxBVU1hK9Q40DlZzXZqqFEoIBasfYH
8aqzAjvinij7JWxcoYE9tDwhVaoIwgvNAZEXYf+j0x8TKKVYRcy+Wcs5cDztM1Xp
1kgs6vkXziMCIvXg6hn0WVh27viwK41p1d/CoKka2X77IVX2hNtcwlzOQbnsnf+n
RbzlhXB958lQ2f+V9VNXpfbYG3Z2axdEubjFQPzN++XE7qSRxL1xk7r1BRgSJcs2
zizgKPmBnK52YxAG5STVNrF8ZKTQkQSbnDb/SWW+YIEB90n3L2crlo1RSDbv6Q/7
Zl3a74iUdsvbO7bie4RAEKovkIPPgRYyRgYH2ivShxyJddki6U1HydjnVWJcOalJ
EbCfo05l5twIAtS1eCE3EKfoNP4GkGRlYd+oGO8Jcr4iRvhwG1zdQxGn+JAFOIeK
EtSJp8Kux6SpxCs7c7tf81fr2OGfZ2CYasiztBaSCMLWkNtAMjeAcwsBcyizRqe4
PGTgbg0ZpdDwY+jNduc0
=qtM8
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to