[Paraview] error calling Delete in python script
Tony McDaniel
tonymcdaniel at gmail.com
Mon Oct 21 11:14:30 EDT 2013
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.
> >>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131021/c481fa0e/attachment.htm>
More information about the ParaView
mailing list