<div dir="ltr">Hi,<div><br></div><div>I am trying to read a vtp file with the  following code:</div><div><br></div><div><div>vtkSmartPointer< vtkXMLPolyDataReader > readerXML = vtkSmartPointer< vtkXMLPolyDataReader >::New();</div><div>readerXML->SetFileName(paths.c_str());</div><div>readerXML->Update();</div><div>mesh = readerXML->GetOutput();</div></div><div><br></div><div>However, it is given me the following error:</div><div><br></div><div><div>ERROR: In /staff/icm16/My_repository/Thirdparties/VTK-6.3.0/IO/XML/vtkXMLReader.cxx, line 234</div><div>vtkXMLPolyDataReader (0x68f310): Error opening file /staff/icm16/TestSamples/SegmentationVertebrae/SegmentationsNew/V1/meshWithSimilarityReg2.vtp</div><div><br></div><div><br></div><div>ERROR: In /staff/icm16/My_repository/Thirdparties/VTK-6.3.0/Common/ExecutionModel/vtkExecutive.cxx, line 784</div><div>vtkCompositeDataPipeline (0x68fe90): Algorithm vtkXMLPolyDataReader(0x68f310) returned failure for request: vtkInformation (0x691600)</div><div>  Debug: Off</div><div>  Modified Time: 76</div><div>  Reference Count: 1</div><div>  Registered Events: (none)</div><div>  Request: REQUEST_INFORMATION</div><div>  ALGORITHM_AFTER_FORWARD: 1</div><div>  FORWARD_DIRECTION: 0</div></div><div><br></div><div><br></div><div>There is no problem at all when opening the file with paraview. I am using an Ubuntu machine with VTK-6.3.0.</div><div><br></div><div>Any idea what the problem could be?</div><div><br></div><div>Thanks a lot.</div><div>Isaac.</div><div><br></div><div><br></div></div>