# PV 5.7.0: Calculator error

**URL:** https://discourse.paraview.org/t/pv-5-7-0-calculator-error/3000
**Category:** ParaView Support
**Created:** [November 19, 2019, 10:43am UTC](https://discourse.paraview.org/t/pv-5-7-0-calculator-error/3000 "2019-11-19T10:43:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![MiguelAngelAGUIRRE](https://discourse.paraview.org/user_avatar/discourse.paraview.org/miguelangelaguirre/32/2986_2.png) [@MiguelAngelAGUIRRE](https://discourse.paraview.org/u/MiguelAngelAGUIRRE)
#### Post date: [November 19, 2019, 10:43am UTC](https://discourse.paraview.org/t/pv-5-7-0-calculator-error/3000/1 "2019-11-19T10:43:08Z")

</div>

Hello,

I’m trying to do a very simple operation with the “Calculator” filter that works fine in previous versions but NOT in PV5.7.0. In the new version the software crashes and closes.

Please, find in the attached file a state file that works fine in PV5.5.0 but not in PV5.7.0.

There is something wrong in my procedure or there are some fundamental changes in the new Paraview version?

Thanks in advance!

Miguel[PV\_5\_5\_0\_Rerefence\_OK.pvsm](https://discourse.paraview.org/uploads/short-url/xZrgm3rvLkSvqCrGTMuYX8S69JS.pvsm) (677.5 KB) [PV\_ERROR\_TEST.cas](https://discourse.paraview.org/uploads/short-url/okmKMzNzBHlKKqDbOHCy5Iagqlx.cas) (298.6 KB) [PV\_ERROR\_TEST.dat](https://discourse.paraview.org/uploads/short-url/o6u5IH8HmY3dyNC4hCu9kGF7TYh.dat) (491.3 KB)

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [November 19, 2019, 12:47pm UTC](https://discourse.paraview.org/t/pv-5-7-0-calculator-error/3000/2 "2019-11-19T12:47:17Z")

</div>

Hi,  
your state contains (custom) filters that cannot be loaded, as `EpsilonAxes` or `Epsilon_Wave_Anergy_Divergence` (see full output here : [errors.txt](https://discourse.paraview.org/uploads/short-url/mDaaR7LJY7ctGR7BWg4K14tZL5c.txt) (6.7 KB) ). Can you try to export the state again from 5.5 ?  
A workaround may be to export your custom filters from 5.5 and import them in 5.7.

---

<div class="post-metadata">

### Author: ![MiguelAngelAGUIRRE](https://discourse.paraview.org/user_avatar/discourse.paraview.org/miguelangelaguirre/32/2986_2.png) [@MiguelAngelAGUIRRE](https://discourse.paraview.org/u/MiguelAngelAGUIRRE)
#### Post date: [November 19, 2019, 1:17pm UTC](https://discourse.paraview.org/t/pv-5-7-0-calculator-error/3000/3 "2019-11-19T13:17:08Z")

</div>

Hello,

Thanks for your answer. Please, find in the attached file a PVSM file directly from PV5.7.0.

What i’m doing is simply loading a Fluent file (cell data) and then apply a very simple Calculator filter. This works OK if the original cell data is used. However, when Fluent data is previously converted to point data, the calculator crashes.

PS : I really need to use the calculator from a point data. Using CellDataToPointData after the calculator is not an option for me.

Thanks again!

Miguel

[PV\_5\_7\_0\_error.pvsm](https://discourse.paraview.org/uploads/short-url/hZGTaGuwSKNl9wM3A3ku2uhOKgI.pvsm) (388.6 KB)

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [November 19, 2019, 2:04pm UTC](https://discourse.paraview.org/t/pv-5-7-0-calculator-error/3000/4 "2019-11-19T14:04:51Z")

</div>

In your input dataset, there is a cell array with an empty name. Whereas it should not crash, it is not a good practice. If you cannot regenerate your dataset I suggest you to apply the `PassArrays` filter on your reader with all arrays checked except the empty one. Then you will be able to apply your pipeline without crash.

---

<div class="post-metadata">

### Author: ![MiguelAngelAGUIRRE](https://discourse.paraview.org/user_avatar/discourse.paraview.org/miguelangelaguirre/32/2986_2.png) [@MiguelAngelAGUIRRE](https://discourse.paraview.org/u/MiguelAngelAGUIRRE)
#### Post date: [November 19, 2019, 2:20pm UTC](https://discourse.paraview.org/t/pv-5-7-0-calculator-error/3000/5 "2019-11-19T14:20:17Z")

</div>

Excellent!

That solved the problem! Thanks for four support!

Miguel
