[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-devel] Re: Python and i18n issues
From: |
Alexandre Courbot |
Subject: |
[Adonthell-devel] Re: Python and i18n issues |
Date: |
12 Apr 2002 14:06:41 +0200 |
> > Traceback (most recent call last):
> > File "/home/kai/adonthell/wastesedge/scripts/schedules/mapcharacters/lucia.py", line 19, in ?
> > import random
> > File "/usr/local/lib/python2.1/random.py", line 93, in ?
> > _verify('NV_MAGICCONST', 1.71552776992141)
> > File "/usr/local/lib/python2.1/random.py", line 88, in _verify
> > raise ValueError(
> > ValueError: computed value for NV_MAGICCONST deviates too much (computed 2,82843, expected 1)
Okay, I think I know what's going on, thanks to google ;)
http://mail.python.org/pipermail/python-list/2002-March/090293.html
http://mail.python.org/pipermail/python-list/2002-March/090324.html
http://mail.python.org/pipermail/python-list/2002-March/090360.html
This guy had the same problem - for him it came from gnome.ui locale settings, so I guess it's the same for us. So it doesn't really come from i18n, but rather from l10n. Importing random before any locale is set or doing as suggested in the 3rd mail should do it.
Or maybe we can do without locales at all?
Alex.
- Re: [Adonthell-devel] New Windows test (PORTED TO VISUALC), (continued)
- Re: [Adonthell-devel] New Windows test (PORTED TO VISUALC), Kenneth Gangstoe, 2002/04/11
- Re: [Adonthell-devel] New Windows test (PORTED TO VISUALC), Alexandre Courbot, 2002/04/11
- Re: [Adonthell-devel] New Windows test (PORTED TO VISUALC), Kai Sterker, 2002/04/11
- Re: [Adonthell-devel] New Windows test (PORTED TO VISUALC), Alexandre Courbot, 2002/04/11
- Re: [Adonthell-devel] New zlib.dll that seems to work, Alexandre Courbot, 2002/04/11
- Re: [Adonthell-devel] New zlib.dll that still doesn't work, Kai Sterker, 2002/04/11
- Re: [Adonthell-devel] New zlib.dll that still doesn't work, Alexandre Courbot, 2002/04/11
- Re: [Adonthell-devel] New zlib.dll that still doesn't work, Alexandre Courbot, 2002/04/11
- Re: [Adonthell-devel] New zlib.dll that still doesn't work, Kai Sterker, 2002/04/11
- Re: [Adonthell-devel] New zlib.dll that still doesn't work, Alexandre Courbot, 2002/04/12
- [Adonthell-devel] Re: Python and i18n issues,
Alexandre Courbot <=
- Re: [Adonthell-devel] Re: Python and i18n issues, Kai Sterker, 2002/04/12
- Re: [Adonthell-devel] Re: Python and i18n issues, Alexandre Courbot, 2002/04/12
- Re: [Adonthell-devel] Returned from hell, and see what I found ..., Kai Sterker, 2002/04/12
- Re: [Adonthell-devel] Windows test working!, Kai Sterker, 2002/04/12
- Re: [Adonthell-devel] Windows test working!, Alexandre Courbot, 2002/04/12
- Re: [Adonthell-devel] Windows test working!, Kai Sterker, 2002/04/12
- Re: [Adonthell-devel] Windows test working!, Alexandre Courbot, 2002/04/13
- Re: [Adonthell-devel] More Windows porting, Alexandre Courbot, 2002/04/13
- Re: [Adonthell-devel] More Windows porting, Kai Sterker, 2002/04/13
- Re: [Adonthell-devel] More Windows porting, Alexandre Courbot, 2002/04/13