Hi,

I am having a devil of a time trying to get my python shell plugins
to work right, I can't seem to find any extensive documentation, just
loads of examples...  Anyway, hopefully you will be able to help me!

I would like to popup a dialog box when there is an error in the
plugin.  How can I do that?  If the user doesn't have the python shell
open, they can't even see the output of a print statement.

Secondly how can one gracefully end a python shell plugin?   A
sys.exit() just kills paraview since the plugin is running in the
same process I guess.  Throwing an exception is OK if the user has the
python shell open, otherwise it is just a silent failure.

Thank you for any help

Matt Wilkins


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to