[SciPy-dev] gui_thread and wxPython-2.5.2.8

Fernando Perez Fernando.Perez at colorado.edu
Fri Oct 1 16:05:44 CDT 2004


Prabhu Ramachandran schrieb:
>>>>>>"PP" == Pearu Peterson <pearu at scipy.org> writes:
> 
> 
>     PP> On Sat, 2 Oct 2004, Prabhu Ramachandran wrote:
> 
>     PP> With the patch that I just commited to CVS this example works
>     PP> with wxPython-2.4.x. However there seems to be still some
>     PP> issues.  For example, adding
> 
>     PP>    b = SimpleFrame()
> 
>     PP> to the simple test will segfault Python.  Or, when closing the
>     PP> frame and then running
> 
>     PP>    a = SimpleFrame()
> 
>     PP> again will hang Python.
> 
>     PP> Does this happen also with wx-2.5?
> 
> Hmm, thats very strange.  I don't get this error on 2.5.x *but* on any
> complex application I do get hard to debug, wierd and random errors.
> So it appears that all is not well.  Also, does wxPython-2.4.x have a
> 'wx/' directory in sys.path?  If that is not the case, _import_wx_core

This is my sys.path:

...
  '/usr/lib/python23.zip',
  '/usr/lib/python2.3',
  '/usr/lib/python2.3/plat-linux2',
  '/usr/lib/python2.3/lib-tk',
  '/usr/lib/python2.3/lib-dynload',
  '/usr/lib/python2.3/site-packages',
  '/usr/lib/python2.3/site-packages/Numeric',
  '/usr/lib/python2.3/site-packages/gtk-2.0',
...

In [6]: wx?
Type:           module
Base Class:     <type 'module'>
String Form:    <module 'wx' from 
'/usr/lib/python2.3/site-packages/wx/__init__.pyc'>

HTH,

f




More information about the Scipy-dev mailing list