[SciPy-dev] gui_thread and wxPython-2.5.2.8

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Tue Oct 5 12:57:38 CDT 2004


>>>>> "FP" == Fernando Perez <Fernando.Perez at colorado.edu> writes:

    >> That is wierd I agree but could be due to the first import, my
    >> suspicion is that I need to increase the timeout on the Event
    >> object from 0.5 to a full second or two.  In anycase just try
    >> it again (exit ipython and restart immediately) and it should
    >> work.

    FP> No, no luck.  I tried several quick restarts, with the same
    FP> results.  And I get the same problem with the wx demo (after
    FP> fixing the args):

[...]

    FP> Something isn't quite right here...

It could be the LANG=C thing that Michael Reimpell reported.  Try
this:

LANG=C ipython
[gui_thread tests]

and see what you get.  If that does not fix it, you could try to edit
wxBackgroundApp.py and change the finished.wait(0.5) to
something larger like finished.wait(2.0) and retry.  

Either way do let me know what works.  On my machine I'm able to run
wxPython apps from inside IDLE using gui_thread (not that I use IDLE
at all, but just to show that its now possible to do it). :)

cheers,
prabhu




More information about the Scipy-dev mailing list