[IPython-dev] Re: [SciPy-dev] Generic gui_thread + IPython: solution already exists!

Prabhu Ramachandran prabhu_r at users.sf.net
Mon Nov 15 22:31:22 EST 2004

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

    FP> Quick report with this Shell.py you just sent. On a Fedora3
    FP> box, I get with -wthread:

    FP> 4. I kept rotating the view, and all of a sudden python
    FP>    coredumped. Mayavi and
    FP> ipython both went up in smoke.  Not good.

    FP> This is definitely not user-ready, sorry to say so :(

Yeah, I thought as much.  I realized later that the new Shell.py was a
late night shot-in-the-dark.

On my debian machine, everything works nicely (no jerking, no
crashing).  So, this is doubly frustrating.  Why doesn't everyone run
debian? ;-)

BTW, does this version of FC ship with threaded versions of
libtcl/libtk/_tkinter?  If it does, I am at a loss.

Anyway, I think the only way out of this mess would be to add a -tk
flag.  I've just done that.  So you can do -{g,w}thread without -tk
and you should see no problems.  If you have decent Tcl/Tk/tkinter
build or a good OS ;-) then you could risk trying '-tk'.  I've made a
patch for this and attached it below.  The code isn't the greatest but
works for me.  So to enable Tk do `ipython -{g,w}thread -tk`.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ipython.patch
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20041116/19c2729a/attachment.ksh>

More information about the IPython-dev mailing list