[Paraview] error calling Delete in python script

Casey Goodlett casey.goodlett at kitware.com
Mon Oct 21 10:22:19 EDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131021/f03a450e/attachment.htm>


More information about the ParaView mailing list