# Programable Filter Freezing

**URL:** https://discourse.paraview.org/t/programable-filter-freezing/6223
**Category:** ParaView Support
**Created:** [January 13, 2021, 7:21pm UTC](https://discourse.paraview.org/t/programable-filter-freezing/6223 "2021-01-13T19:21:21Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![zwilde](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/z/9de053/32.png) [@zwilde](https://discourse.paraview.org/u/zwilde)
#### Post date: [January 13, 2021, 7:21pm UTC](https://discourse.paraview.org/t/programable-filter-freezing/6223/1 "2021-01-13T19:21:22Z")

</div>

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()
```

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 14, 2021, 9:33am UTC](https://discourse.paraview.org/t/programable-filter-freezing/6223/2 "2021-01-14T09:33:49Z")

</div>

Which version of ParaView are you using ?

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

---

<div class="post-metadata">

### Author: ![zwilde](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/z/9de053/32.png) [@zwilde](https://discourse.paraview.org/u/zwilde)
#### Post date: [January 14, 2021, 1:05pm UTC](https://discourse.paraview.org/t/programable-filter-freezing/6223/3 "2021-01-14T13:05:23Z")

</div>

Thank you, Mathieu.

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

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 14, 2021, 1:12pm UTC](https://discourse.paraview.org/t/programable-filter-freezing/6223/4 "2021-01-14T13:12:10Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![zwilde](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/z/9de053/32.png) [@zwilde](https://discourse.paraview.org/u/zwilde)
#### Post date: [January 14, 2021, 1:14pm UTC](https://discourse.paraview.org/t/programable-filter-freezing/6223/5 "2021-01-14T13:14:19Z")

</div>

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

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 14, 2021, 1:15pm UTC](https://discourse.paraview.org/t/programable-filter-freezing/6223/6 "2021-01-14T13:15:40Z")

</div>

[https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/build.md](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.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [January 14, 2021, 1:20pm UTC](https://discourse.paraview.org/t/programable-filter-freezing/6223/7 "2021-01-14T13:20:17Z")

</div>

@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.

---

<div class="post-metadata">

### Author: ![zwilde](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/z/9de053/32.png) [@zwilde](https://discourse.paraview.org/u/zwilde)
#### Post date: [January 14, 2021, 1:21pm UTC](https://discourse.paraview.org/t/programable-filter-freezing/6223/8 "2021-01-14T13:21:36Z")

</div>

@cory.quammen and @mwestphal, Thank you!

---

<div class="post-metadata">

### Author: ![WhosYourData](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/b5ac83/32.png) [@WhosYourData](https://discourse.paraview.org/u/WhosYourData)
#### Post date: [January 20, 2021, 11:15pm UTC](https://discourse.paraview.org/t/programable-filter-freezing/6223/9 "2021-01-20T23:15:35Z")

</div>

I didn’t know about the Show() 🙂 Maybe it’s worth mentioning it in the ParaView Guide-\>Reference Manual -\>Programmable Filter section?

> **[4. Programmable Filter — ParaView Documentation 5.8.1 documentation](https://docs.paraview.org/en/latest/ReferenceManual/pythonProgrammableFilter.html#)**

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [January 20, 2021, 11:27pm UTC](https://discourse.paraview.org/t/programable-filter-freezing/6223/10 "2021-01-20T23:27:03Z")

</div>

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](https://docs.paraview.org/en/latest/UsersGuide/displayingData.html#display-properties-in-pvpython).

---

<div class="post-metadata">

### Author: ![WhosYourData](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/b5ac83/32.png) [@WhosYourData](https://discourse.paraview.org/u/WhosYourData)
#### Post date: [January 22, 2021, 1:19am UTC](https://discourse.paraview.org/t/programable-filter-freezing/6223/11 "2021-01-22T01:19:47Z")

</div>

Thanks @jourdain, my mistake!
