[SciPy-dev] Plan for releasing Scipy 0.3.2
pearu at scipy.org
Wed Oct 6 17:37:53 CDT 2004
On Wed, 6 Oct 2004, Fernando Perez wrote:
> Pearu Peterson schrieb:
>> I have no problems with using gui_thread on a Debian system with
>> wxPythonSrc-220.127.116.11. So, I wouldn't disable gui_thread for myself;)
>> My environment: Python 2.3.4, LANG is unset, Numeric 23.5.
> Ok, here's a bit more useful info: if I set LANG to C, it all looks pretty
> good. If I leave one of the fedora defaults, even an english one:
> planck[demo]> echo $LANG
> I get guaranteed segfaults. I'm going to guess it's a bug related to UTF-8
> handling deep in the bowels of wx and/or GTK.
>> Could you try to use libwadpy or some other tool to find out which part of
>> wxPython is segfaulting?
> Unfortunately I can't really commit to deeply debugging this problem at the
> library level (WX) right now. That kind of bug hunting in C libs is very
> time consuming, and at the moment I can only spend short bursts of time on
> this performing small tests. Hopefully the LANG info proves useful, since
> that's the most I'm likely to be able to provide. Can you see if you get
> similar problems with UTF-8 settings?
No. Using `LANG=en_US.UTF-8 python` does not cause any problems here on
Debian box: I can even run multiple wxPython demo instances.
> Perhaps doing a hard LANG=C inside gui_thread is a viable option also. Not
> ideal, but better than a segfault :)
I agree. But have you tested that adding 'os.environ["LANG"]="C"' to
gui_thread will fix the problem? If so, then we should use it in 0.3.2.
More information about the Scipy-dev