calling IntegrateVariables from python leads to infinite recursion
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I want to apply a pipeline ending with IntegrateVariables to series of data. In order to free memory I decidede to diconnect form server after processing a single data. However with such setup IntegrateVariables end in infinite recursion, reporting:
Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <bound method IntegrateVariables.del of <paraview.servermanager.IntegrateVariables object at 0x39ecb90>>
I can reproduce this behaviour calling following script with pvpython:
from paraview import servermanager
servermanager.Connect()
frac = servermanager.sources.HierarchicalFractal()
iv = servermanager.filters.IntegrateVariables(frac)
servermanager.Disconnect()
I finally succeed with workaround that use ProgrammableFilter calling vtkIntegrateAttributes directly. Jan