Skip to content

Find Data breaks with multiple expressions on multiblock data

The Find Data dialog fails to query data when using multiple expressions on a multiblock dataset. To replicate, do the following:

  1. Load disk_out_ref.ex2. Load all variables. Apply.
  2. Open the Find Data dialog box.
  3. Select find Point(s) from disk_out_ref.ex2.
  4. In the first query line, select Temp is >= 300.
  5. Click + to create a new expression.
  6. In the new second query line, select Temp is <= 400.
  7. Click Run Selection Query

The query fails. In Output Messages you get the following errors:

Warning: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTKExtensions\ExtractionPython\vtkPythonSelector.cxx, line 76
vtkPythonSelector (00000173CA73A700): Could not invoke 'python_selector.execute()'

Traceback (most recent call last):
  File "C:\Program Files (x86)\ParaView 5.8.0\bin\Lib\site-packages\paraview\detail\python_selector.py", line 109, in execute
    insidedness = numpy_support.numpy_to_vtk(maskArray, deep=1, array_type=vtkConstants.VTK_SIGNED_CHAR)
  File "C:\Program Files (x86)\ParaView 5.8.0\bin\Lib\site-packages\vtkmodules\util\numpy_support.py", line 170, in numpy_to_vtk
    z_flat = numpy.ravel(z).astype(arr_dtype)
ValueError: setting an array element with a sequence.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information