[wxPython-dev] Bug in wx/_core.py about locale
Victor Stinner
victor.stinner at haypocalc.com
Tue Dec 5 09:23:08 PST 2006
Hi,
Le Mardi 5 Décembre 2006 18:09, Robin Dunn a écrit :
> > File "(...)\wx-2.7.2-msw-unicode\wx\_core.py", line 13684, in <module>
> > default = locale.getdefaultlocale()[1]
> > AttributeError: 'module' object has no attribute 'getdefaultlocale'
>
> Strange. Which version of Python is being used?
Ooops, sorry. It was something very stupid.
I was a directory called 'locale' in PYTHONPATH but _without_ any
__init__.py... or any other ".py" file! Solution: remove it. Is it a
new "feature" of Python 2.5? :-/
Haypo
More information about the wxpython-dev
mailing list