Extractline data script does not work with pvpython 5.7.0, Kudo Paula
extractlinedata.py does not work with
pvpython) under version 5.7.0.
The following error messages would be obtained:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/paraview/servermanager.py", line 1312, in SetData position = self.Available.index(values) ValueError: 'Line' is not in list
How to reproduce it (as minimally and precisely as possible):
pvpython extractlinedata.py -f REVScale_BJS_darcy-00000.vtu -p1 0.0 0.0 0.0 -p2 0.0 0.5 0.0 for the attached file REVScale_BJS_darcy-00001.vtu. In principle, with
pvpython version 5.7.0 use
bin folder to extract a line data from any
vtu/vtp file can reproduce the error.
The script works with Paraview 5.9.0 and some old versions.