Programable Filter Freezing

I have started trying to run Programmable filters and any attempt to use them results in Paraview freezing. I get no output messages, just a freeze. I imagine it is something in my system but without any outputs. I am not sure how to continuing debugging this. Is there some other way to try to debug this at a lower level? I have attached some code below. Thank you!

Paraview 5.8.1 on MacOS 10.15.7

s=Sphere()
programmableFilter1 = ProgrammableFilter(Input=s)
programmableFilter1.Script = """print('hello World')"""
programmableFilter1.UpdatePipeline()

Which version of ParaView are you using ?

By the way, your script needs a Show() in order to compute anything.

Thank you, Mathieu.

I am using Paraview 5.8.1. Using Show() instead of up UpdatePipline Also results in freezing.

Can you try with 5.9-RC3 ?

In any case, that seems specific to your setup. You will need to build ParaView in debug in order to investigate.

Unfortunately not with my employer at this time. Is there some resource on how to do the build with debug mode?

https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/build.md

Sadly there is no getting started guide for OSX, but the full guide would still help you.

@zwilde , this is a known issue with 5.8.1 and macos Catalina. I’m working to rebuild the binary using a different build environment that should hopefully resolve the issue.

2 Likes

@cory.quammen and @mwestphal, Thank you!