zwilde
(Zak Wilde)
January 13, 2021, 7:21pm
1
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()
1 Like
mwestphal
(Mathieu Westphal (Kitware))
January 14, 2021, 9:33am
2
Which version of ParaView are you using ?
By the way, your script needs a Show()
in order to compute anything.
1 Like
zwilde
(Zak Wilde)
January 14, 2021, 1:05pm
3
Thank you, Mathieu.
I am using Paraview 5.8.1. Using Show()
instead of up UpdatePipline Also results in freezing.
mwestphal
(Mathieu Westphal (Kitware))
January 14, 2021, 1:12pm
4
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.
zwilde
(Zak Wilde)
January 14, 2021, 1:14pm
5
Unfortunately not with my employer at this time. Is there some resource on how to do the build with debug mode?
mwestphal
(Mathieu Westphal (Kitware))
January 14, 2021, 1:15pm
6
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.
cory.quammen
(Cory Quammen (Kitware))
January 14, 2021, 1:20pm
7
@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
zwilde
(Zak Wilde)
January 14, 2021, 1:21pm
8
I didn’t know about the Show() Maybe it’s worth mentioning it in the ParaView Guide->Reference Manual ->Programmable Filter section?
jourdain
(Sebastien Jourdain)
January 20, 2021, 11:27pm
10
Show() has nothing to do with Programmable Filter.
The goal of Show() is to create a representation of your data so you can see it inside your active view. This is true for any filter in ParaView.
You can find some explanation here .
1 Like
Thanks @jourdain , my mistake!
1 Like