Maybe this is not the cause, but ..../myfile.vtp is not a correct path, it should read ../myfile.vtp or ../../myfile.vtp You might check your script.
Best regards / Cordialmente, William-Fernando Oquendo -------------------------- Este correo puede carecer de tildes o eñes debido al teclado. On Mon, Jun 4, 2012 at 6:52 AM, David Doria <[email protected]> wrote: > On Mon, Jun 4, 2012 at 4:09 AM, Tuan Ha Tran <[email protected]>wrote: > >> Hi everybody, >> I have a problem in opening a .vtp file. >> When I opened from ParaView GUI, I managed to open it by choosing >> "Legacy VTK Files" (but this file is not marked as "vtkImageData" to be >> used with my filter) >> But when I used Python Shell and JavaScript Terminal then my .vtp >> file is marked "File not readable. No reader found for '..../myfile.vtp'. >> I wondered if anybody have any idea what happened? >> Thank you in advance >> > > Sounds like the contents of the file are not actually in vtp format (i.e. > written with vtkXMLPolyDataWriter). Maybe you used vtkPolyDataWriter to > write a .vtp instead of .vtk? Or if you are storing vtkImageData, you > should have probably used vtkXMLImageDataWriter to write a .vti. > > David > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
