<div class="gmail_quote">On Mon, Jun 4, 2012 at 9:41 AM, Tuan Ha Tran <span dir="ltr">&lt;<a href="mailto:tuan-ha.tran@insa-lyon.fr" target="_blank">tuan-ha.tran@insa-lyon.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Thank you all for your reply.<br><span>I don&#39;t quite understand where the problem is from. The .vtp file is readable, but I have to choose the vtkReader for it (there is a window of readers&#39; list appears and I chose &quot;Legacy VTK files&quot;), so, for me, this is perhaps the problem of paraView or something like that. Because with .vtp file, it can&#39;t find the right reader to use. </span>So why there is that error &quot;No reader found for /home/thtran/myfile.vtp&quot; with python shell and JavaScript Terminal (I&#39;m sorry, I didn&#39;t mention that I used the full path to the file)<br>
</div></blockquote><div><br></div><div>I believe if the file data does not match the file extension, Paraview gives you the option to tell it what the file actually contains. Like I said, if you choose Legacy VTK and it works, then the file should have actually been named .vtk instead of .vtp.</div>
<div><br></div><div>David</div></div>