> the ipython shell and the rendering window suddenly hang without throwing
> any exception.
> In a new session I tried to access vol.volume_property. and
> vol.volume_mapper. without success - ipython hung again.�
> It works with the built-in shell in the mayavi2 application and also when
> using just 'ipython' without '-wthread'.
> Does anyone know why this happens (race conditions?) and how to workaround
> this issue?�
This must be related to a threading issue in IPython. I suspect it is
because a getter is not evaluated in the graphical event loop.
I had a quick try, and it seems that the following works around the
In : f = vol._volume_property.set_color
In : f(ctf)
A better option (if it works) would be to define a helper function, and
use only that helper in IPython interactively. I suspect that it will
work around the problem.