<div dir="ltr"><span style="font-size:13px">Good morning,</span><br style="font-size:13px"><span style="font-size:13px">I'm a new user of software ParaView and I have some problem.</span><br style="font-size:13px"><span style="font-size:13px">Everytime I try to create a selection using the option "Find Data" the software returns this error message:</span><br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">"Traceback (most recent call last):</span><br style="font-size:13px"><span style="font-size:13px">  File "<string>", line 8, in <module></span><br style="font-size:13px"><span style="font-size:13px">  File "<string>", line 5, in vtkPythonExtractSelection_</span><span style="font-size:13px">RequestData</span><br style="font-size:13px"><span style="font-size:13px">  File "C:\Program Files (x86)\ParaView 4.2.0\lib\paraview-4.2\site-</span><span style="font-size:13px">packages\paraview\extract_</span><span style="font-size:13px">selection.py", line 111, in execute</span><br style="font-size:13px"><span style="font-size:13px">    output.FieldData.append(</span><span style="font-size:13px">nonzero_indices, "vtkSelectedIds");</span><br style="font-size:13px"><span style="font-size:13px">  File "C:\Program Files (x86)\ParaView 4.2.0\lib\paraview-4.2\site-</span><span style="font-size:13px">packages\paraview\vtk\numpy_</span><span style="font-size:13px">interface\dataset_adapter.py", line 596, in append</span><br style="font-size:13px"><span style="font-size:13px">    ds.GetAttributes(self.</span><span style="font-size:13px">Association).append(array, name)</span><br style="font-size:13px"><span style="font-size:13px">  File "C:\Program Files (x86)\ParaView 4.2.0\lib\paraview-4.2\site-</span><span style="font-size:13px">packages\paraview\vtk\numpy_</span><span style="font-size:13px">interface\dataset_adapter.py", line 535, in append</span><br style="font-size:13px"><span style="font-size:13px">    arr = numpyTovtkDataArray(copy, name)</span><br style="font-size:13px"><span style="font-size:13px">  File "C:\Program Files (x86)\ParaView 4.2.0\lib\paraview-4.2\site-</span><span style="font-size:13px">packages\paraview\vtk\numpy_</span><span style="font-size:13px">interface\dataset_adapter.py", line 119, in numpyTovtkDataArray</span><br style="font-size:13px"><span style="font-size:13px">    vtkarray = numpy_support.numpy_to_vtk(</span><span style="font-size:13px">array)</span><br style="font-size:13px"><span style="font-size:13px">  File "C:\Program Files (x86)\ParaView 4.2.0\lib\paraview-4.2\site-</span><span style="font-size:13px">packages\vtk\util\numpy_</span><span style="font-size:13px">support.py", line 141, in numpy_to_vtk</span><br style="font-size:13px"><span style="font-size:13px">    result_array = create_vtk_array(vtk_typecode)</span><br style="font-size:13px"><span style="font-size:13px">  File "C:\Program Files (x86)\ParaView 4.2.0\lib\paraview-4.2\site-</span><span style="font-size:13px">packages\vtk\util\numpy_</span><span style="font-size:13px">support.py", line 97, in create_vtk_array</span><br style="font-size:13px"><span style="font-size:13px">    return vtk.vtkDataArray.</span><span style="font-size:13px">CreateDataArray(vtk_arr_type)</span><br style="font-size:13px"><span style="font-size:13px">TypeError: CreateDataArray argument 1: an integer is required"</span><br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">I'm trying to locate the residual stress in the cells in a mesh of a welded plate.</span><br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">I would like to know how to solve this problem.</span><br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">Thanks for your attention,</span><br style="font-size:13px"><br>--<br clear="all"><div><div class="gmail_signature"><div dir="ltr">Pedro Ceccon Thurler<br>Departamento de Engenharia Naval e Oceânica - UFRJ<br><a href="mailto:ceccon@poli.ufrj.br" target="_blank">ceccon@poli.ufrj.br</a><br></div></div></div>
</div>