[SciPy-dev] Crash in plt.image()

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Wed Apr 10 12:03:27 CDT 2002


>>>>> "Jose" == josegomez  <iso-8859-15> writes:

    >> gui_thread before you started to use the plt module.  What you
    >> should do is something like this:

    Jose> 	Exactly, and the plt.image() problem is linked to this
    Jose> as well. So we are all happy now, and i have already put my
    Jose> head inside a bucket :-)

Well, forgetting gui_thread is a common problem even for the creators
of the gui_thread code. :)

    Jose> 	However, it seems a bit harsh for plt.image() to
    Jose> segfault if gui_thread is nor imported, but looking at it,
    Jose> it looks as if it might be a complicated effort to have the
    Jose> plt. methods check whether gui_thread has been imported and
    Jose> if not, import it into the automatically.

Yes, there were problems with the way Python imports modules and does
threading.  I cant remember the problem right now but Eric is the
expert on that one.  

prabhu



More information about the Scipy-dev mailing list