[Paraview] error calling Delete in python script
Casey Goodlett
casey.goodlett at kitware.com
Mon Oct 21 11:26:46 EDT 2013
Tony,
I think this should fix it http://review.source.kitware.com/#/t/3462/
On Mon, Oct 21, 2013 at 11:14 AM, Tony McDaniel <tonymcdaniel at gmail.com>wrote:
> I was able to reproduce this error in Paraview 3.98.1 64-bit on MacOS X
> 10.8.5 with the following code:
>
> s = Sphere()
> c = Contour()
> Delete(c)
>
> Which returns the error:
>
> ERROR: In
> /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMProxyListDomain.cxx,
> line 189
> vtkSMProxyListDomain (0x11db65670): Index 2 greater than max 1
>
> However, the Contour filter is actually deleted from the pipeline.
>
> Interestingly, saving the following as pvtest.py and running it from the
> terminal does not result in an error:
>
> #!/usr/bin/env pvpython
> # encoding: utf-8
> from paraview.simple import *
>
> s = Sphere()
> c = Contour()
> Delete(c)
>
> Info on pvpython:
>
> ~ $ which pvpython
> /Applications/paraview.app/Contents/bin/pvpython
>
> ~ $ pvpython
> Python 2.6.7 (r267:88850, Oct 11 2012, 20:15:00)
> [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on
> darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
>
> _______________________________________________
> 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
>
>
--
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/af0444c6/attachment.htm>
More information about the ParaView
mailing list