[Paraview] RuntimeError: maximum recursion depth exceeded

Manochehr Bahavar manoch at iris.washington.edu
Wed Feb 7 15:49:45 EST 2018


Hello,

I have a Python reader that creates a vtkPolyData object and when it wants to change its Representation to Points, it returns the following error:

RuntimeError: maximum recursion depth exceeded

However, if I run the same sequence of code in the Paraview’s Python Shell:

view = GetRenderView()
src = FindSource('Model_EQ')
dp = GetDisplayProperties(src)
dp.Representation=‘Points'

It works just fine. The error is generated when it is executing

dp = GetDisplayProperties(src)

Any suggestions?

Thanks,

—manoch


More information about the ParaView mailing list