[Paraview] error calling Delete in python script

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Oct 21 10:24:22 EDT 2013


Looks like a bug to me. The script seems totally reasonable.

Utkarsh

On Mon, Oct 21, 2013 at 10:22 AM, Casey Goodlett
<casey.goodlett at kitware.com> wrote:
> Hi all,
>
> I am having receiving error messages with the 4.0.1 release of paraview as
> well as a recent build of master when deleting objects that are part of a
> pipeline.  The following code snippet gives an an error message.
>
> from paraview import simple as smp
>
> s = smp.Sphere()
> smp.Show(s)
> smp.Render()
> c = smp.Contour()
> smp.Show(c)
> smp.Render()
>
> smp.Delete(c)
>
> Results in the error message
>
> ERROR: In
> /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMProxyListDomain.cxx,
> line 189
> vtkSMProxyListDomain (0x67c2aa0): Index 2 greater than max 1
>
> Am I doing something invalid or is this a bug?
>
> Thank you
>
> --
> Casey B. Goodlett, Ph.D.
> R&D Engineer
> Kitware, Inc. - North Carolina Office
> http://www.kitware.com
> (919) 969-6990 x310
>
> _______________________________________________
> 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
>


More information about the ParaView mailing list