[IPython-User] ctrl-C question
Thu Sep 8 16:47:12 CDT 2011
We recently upgraded to epd 2.7.1, which includes:
ipython <http://ipython.scipy.org/> 0.11
traits <https://github.com/enthought/traits> 4.0.0
wxPython <http://www.wxpython.org/> 18.104.22.168
It seems that the problem existed before the upgrade, but I've been running
ipython -wthread which either solved or masked the problem.
Also, after some more googleing I found this:
On Wed, Sep 7, 2011 at 11:06 PM, Robert Kern <email@example.com> wrote:
> On 9/7/11 9:24 PM, Fernando Perez wrote:
> > On Wed, Sep 7, 2011 at 6:18 PM, Bago<firstname.lastname@example.org> wrote:
> >> That being said I've run into this issue separate from traits, but I
> >> that as an example because it's reproducible. I'm not sure what the root
> >> cause is. I was hoping there was a relativly easy work around but I
> >> I'm just going to have to break my ctrl-C habit.
> > In this case, it seems the issue comes from a signal handler that may
> > be installed by Traits, I don't know... I tried manually installing
> > one but it looks like traits puts in a SIGINT handler later on, right
> > when the configure call is made.
> Traits doesn't, but the (unspecified) underlying GUI toolkit might.
> .edit_traits() is usually used when the GUI application object is already
> started (e.g. to raise a dialog or embed the UI in another widget, etc.)
> .configure_traits() is intended to create and start the GUI application
> using the one dialog as the initial main window, although it will use an
> existing application object if it is running. In somewhat more recent
> of Traits UI, we use guisupport to handle this, so everything should be
> uniform and interact well with IPython's use of guisupport. In older
> versions of
> Traits, I'm not sure. If the OP could state the versions he is using as
> well as
> the GUI toolkit(s), that would help. Also, if he's using one of the --gui
> options or not.
> Robert Kern
> "I have come to believe that the whole world is an enigma, a harmless
> that is made terrible by our own mad attempt to interpret it as though it
> an underlying truth."
> -- Umberto Eco
> IPython-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User