[Paraview-developers] Possible pvbatch bug?

Pat Marion pat.marion at kitware.com
Tue Jan 24 14:02:08 EST 2012


Great!  The answer is- you were calling methods on the
paraview.servermanager module.  Instead, you should call the Connect method
on paraview.simple.  If you are not connecting to a remote server, you may
omit the call to Connect().

Also, your script still contains a call to sm.CreateRenderViewer().
Instead, just call GetRenderView() which will create one if one does not
exist.

help(GetRenderView())

and

import paraview.simple
help(paraview.simple)


Pat

On Tue, Jan 24, 2012 at 3:47 AM, Paul Melis <paul.melis at sara.nl> wrote:

> Hi Pat,
>
> On 01/23/2012 07:17 PM, Pat Marion wrote:
> > Do you still get an error if you remove the call to Connect() near the
> > top of the script?
>
> Indeed, removing the call to Connect() fixes the crash
>
> Paul
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20120124/1a8e7972/attachment.htm>


More information about the Paraview-developers mailing list