[Zope3-dev] testSplitterLocaleAwareness bombing out

Albertas Agejevas alga@codeworks.lt
Tue, 3 Dec 2002 17:09:33 +0200


--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi, sprinters,

ERROR: testSplitterLocaleAwareness (Zope.TextIndex.tests.testLexicon.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/users/alga/Zope3/lib/python/Zope/TextIndex/tests/testLexicon.py", line 125, in testSplitterLocaleAwareness
    locale.setlocale(locale.LC_ALL, 'de_DE.ISO8859-1')
  File "/usr/lib/python2.2/locale.py", line 372, in setlocale
    return _setlocale(category, locale)
Error: locale setting not supported

As a matter of fact, you cannot rely on any of the locales except
"POSIX" and "C" to be available.  On Debian systems the administrator
chooses what locales she wants compiled on her machine, and not
surprisingly de_DE.ISO8859-1 is not compiled anywhere in our office.

Also, it would be nice to see docstrings and CVS $Id$ tags in all the
files.

Albertas

--EeQfGwPcQSOJBaQU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE97MktCYBFvOoRIPYRAh7BAKDU/IfCTOwQ891TQw2QM9T54WVRawCeKZG9
nstdNYh5M/J0rE/4qYFPvPY=
=Ozb3
-----END PGP SIGNATURE-----

--EeQfGwPcQSOJBaQU--