[Paraview-developers] Possible pvbatch bug?

Paul Melis paul.melis at sara.nl
Wed Jan 25 08:45:31 EST 2012


Hi Pat,

Thanks for the hints. Are these things that changed recently in PV, or
was the script I had wrong all along?

Regards,
Paul

On 01/24/2012 08:02 PM, Pat Marion wrote:
> 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
> <mailto: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
> 
> 



More information about the Paraview-developers mailing list