[Zope3-dev] testSplitterLocaleAwareness bombing out
Guido van Rossum
guido@python.org
Tue, 03 Dec 2002 14:16:31 -0500
> Hi, sprinters,
Hi, Albertas!
> 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.
Apologies. I've checked in a fix now.
> Also, it would be nice to see docstrings and CVS $Id$ tags in all the
> files.
Yes.
--Guido van Rossum (home page: http://www.python.org/~guido/)