[Paraview] Problem with number of arguments in a Python Catalyst script

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Sep 10 12:10:45 EDT 2015


Matthieu,

That's indeed the case: try adding a `cinema={}` argument to the script.

Dave, can we fix this please? Scripts generated from 4.3.1 should work with
4.4 too.

Utkarsh

On Thu, Sep 10, 2015 at 12:05 PM, Dorier, Matthieu <mdorier at anl.gov> wrote:

> Hi,
>
> I generated a script for in situ visualization with Catalyst. When running
> it in situ, I get the following error:
> TypeError: RegisterView() takes exactly 9 arguments (8 given)
>
> The line in question in the script is:
>
> coprocessor.RegisterView(renderView1,
>     filename='image_%t.png', freq=1, fittoscreen=0, magnification=1,
> width=1231, height=887)
>
> I'm generated the script using ParaView 4.3.1, while the version of
> Catalyst used on the machine is 4.4 RC2, might that be the problem? If so
> what argument is missing? Can I simply manually add it in the script or
> should I re-generate the script with ParaView 4.4?
>
> Thanks,
>
> Matthieu
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150910/631ce794/attachment.html>


More information about the ParaView mailing list