<div dir="ltr">on my paraview 5.0.1 64-bit on Windows-7<div>(from precompiled distribution at <a href="http://paraview.org">paraview.org</a>)</div><div><br></div><div>What is the reason that I get the following errors when instantiating a Python Calculator filter on a single input of type UnstructuredGrid:</div><div><br></div><div><p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">Traceback (most recent call last):</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"> File "<string>", line 4, in <module></span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"> File "C:\Program Files\ParaView\lib\paraview-5.0\site-packages\paraview\calculator.py", line 102, in execute</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"> retVal = compute(inputs, expression, ns=variables)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"> File "C:\Program Files\ParaView\lib\paraview-5.0\site-packages\paraview\calculator.py", line 74, in compute</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"> retVal = eval(expression, globals(), mylocals)</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"> File "<string>", line 0</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"> </span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"> ^</span></p>
<p style="margin:0px"><span style="font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)">SyntaxError: unexpected EOF while parsing</span></p>
<p style="margin:0px;font-family:Courier;font-size:8.25pt;color:rgb(128,0,0)"><br></p></div><div>What is being parsed? The filter input is an internal paraview data set. The input was active at the time the filter was instantiated. The error occurs as soon as the filter is selected and added to the pipeline.</div><div>I can attach the input dataset if requested.</div><div>Thanks.</div><div><p style="margin:0px">Dean Neumann</p><p style="margin:0px">CEO, Malaspina Labs Inc.</p><p style="margin:0px"><a href="http://www.malaspina-labs.com">www.malaspina-labs.com</a></p><p style="margin:0px"><br></p></div></div>