[SciPy-user] Re: ANN: SciPy 0.10 -- Scientific Computing with Python

eric jones eric at scipy.org
Thu Aug 23 21:07:54 EDT 2001


This fix was posted to the python newsgroup.  Don't know if it works.
Is this an international issue?  Why
does importing gui_thread (or maybe wx?) screw this up.

eric

> Hello,
>
> I have problems with SciPy trying to run the example in SciPy FAQ.
>
> Simplifying, this is where the problem comes from:
>
> Python 2.1.1 (#5, Aug  5 2001, 02:09:22)
> [GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-81)] on linux2
> Type "copyright", "credits" or "license" for more information.
> >>> 6.2 - 3.1
> 3.1000000000000001
> >>> import gui_thread
> >>> <wxPython imported>
> >>>
> >>> 6.2 - 3.1
> 3.0
>
> It seems the problem is originated in gui_thread/main.py when executing
main.start()
> perhaps problems with threads.
> My machine is a x86 with 2 PIII CPUs running Linux 2.4.9.
> I have compiled manually python 2.1.1, SciPy, wxgtk (with threads support
on) and
> wxpython.
>
> Someone else with the same problems?
>
> Thanks in advance,
>
> Iñigo Serna
>
>
>
>


try this after the import of gui_thread


import locale
locale.setlocale(locale.LC_ALL,"")


regards
uwe

----- Original Message -----
From: "eric jones" <eric at scipy.org>
To: "Iñigo Serna" <inigoserna at terra.es>
Cc: <scipy-user at scipy.org>
Sent: Thursday, August 23, 2001 3:16 PM
Subject: [SciPy-user] Re: ANN: SciPy 0.10 -- Scientific Computing with
Python


> That's a strange error.  I don't have a RH machine in front of me to test
it
> on, but on
> my windows box, it doesn't occur.
>
> PythonWin 2.1 (#15, Apr 23 2001, 18:00:35) [MSC 32 bit (Intel)] on win32.
> Portions Copyright 1994-2001 Mark Hammond (MarkH at ActiveState.com) - see
> 'Help/About PythonWin' for further copyright information.
> >>> 6.2 - 3.1
> 3.1000000000000001
> >>> import gui_thread
> >>> <wxPython imported>
> >>> 6.2 - 3.1
>
> 3.1000000000000001
>
> I'll check it again when a RH Linux box is handy.
>
> thanks,
> eric
>
> ----- Original Message -----
> From: "Iñigo Serna" <inigoserna at terra.es>
> To: "eric jones" <eric at enthought.com>; <python-list at python.org>
> Sent: Wednesday, August 22, 2001 11:53 AM
> Subject: Re: ANN: SciPy 0.10 -- Scientific Computing with Python
>
>
> > Hello,
> >
> > I have problems with SciPy trying to run the example in SciPy FAQ.
> >
> > Simplifying, this is where the problem comes from:
> >
> > Python 2.1.1 (#5, Aug  5 2001, 02:09:22)
> > [GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-81)] on linux2
> > Type "copyright", "credits" or "license" for more information.
> > >>> 6.2 - 3.1
> > 3.1000000000000001
> > >>> import gui_thread
> > >>> <wxPython imported>
> > >>>
> > >>> 6.2 - 3.1
> > 3.0
> >
> > It seems the problem is originated in gui_thread/main.py when executing
> main.start()
> > perhaps problems with threads.
> > My machine is a x86 with 2 PIII CPUs running Linux 2.4.9.
> > I have compiled manually python 2.1.1, SciPy, wxgtk (with threads
support
> on) and
> > wxpython.
> >
> > Someone else with the same problems?
> >
> > Thanks in advance,
> >
> > Iñigo Serna
> >
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user




More information about the SciPy-User mailing list