[Paraview] Problem with "Find Data"

Pedro Ceccon Thurler ceccon at poli.ufrj.br
Mon Dec 15 09:35:16 EST 2014


Good morning,
I'm a new user of software ParaView and I have some problem.
Everytime I try to create a selection using the option "Find Data" the
software returns this error message:

"Traceback (most recent call last):
  File "<string>", line 8, in <module>
  File "<string>", line 5, in vtkPythonExtractSelection_RequestData
  File "C:\Program Files (x86)\ParaView 4.2.0\lib\paraview-4.2\site-
packages\paraview\extract_selection.py", line 111, in execute
    output.FieldData.append(nonzero_indices, "vtkSelectedIds");
  File "C:\Program Files (x86)\ParaView 4.2.0\lib\paraview-4.2\site-
packages\paraview\vtk\numpy_interface\dataset_adapter.py", line 596, in
append
    ds.GetAttributes(self.Association).append(array, name)
  File "C:\Program Files (x86)\ParaView 4.2.0\lib\paraview-4.2\site-
packages\paraview\vtk\numpy_interface\dataset_adapter.py", line 535, in
append
    arr = numpyTovtkDataArray(copy, name)
  File "C:\Program Files (x86)\ParaView 4.2.0\lib\paraview-4.2\site-
packages\paraview\vtk\numpy_interface\dataset_adapter.py", line 119, in
numpyTovtkDataArray
    vtkarray = numpy_support.numpy_to_vtk(array)
  File "C:\Program Files (x86)\ParaView 4.2.0\lib\paraview-4.2\site-
packages\vtk\util\numpy_support.py", line 141, in numpy_to_vtk
    result_array = create_vtk_array(vtk_typecode)
  File "C:\Program Files (x86)\ParaView 4.2.0\lib\paraview-4.2\site-
packages\vtk\util\numpy_support.py", line 97, in create_vtk_array
    return vtk.vtkDataArray.CreateDataArray(vtk_arr_type)
TypeError: CreateDataArray argument 1: an integer is required"

I'm trying to locate the residual stress in the cells in a mesh of a welded
plate.

I would like to know how to solve this problem.

Thanks for your attention,

--
Pedro Ceccon Thurler
Departamento de Engenharia Naval e Oceânica - UFRJ
ceccon at poli.ufrj.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20141215/8fee5784/attachment.html>


More information about the ParaView mailing list