<div>Hi BastiL:</div>
<div> </div>
<div>   As you know, Line #2502 (see below) is used to check whether or not the (total) number of points is valid in relation to the file size. I feel that this is a reasonable as well as necessary check. A valid EnSight file is supposed to pass this check. Is your Ensight dataset divided into multiple files such that the total number of points is greater than the size of any of those files?</div>

<div> </div>
<div>   Thanks.</div>
<div> </div>
<div>   -Zhanping</div>
<div> </div>
<div>----------</div>
<div><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (numPts &lt; 0 || numPts &gt; </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">this</font></font><font size="2">-&gt;FileSize || numPts * (</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">int</font></font><font size="2">)</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">sizeof</font></font><font size="2">(</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">int</font></font><font size="2">) &gt; </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">this</font></font><font size="2">-&gt;FileSize)</font></div>

<div><font size="2">{</font></div>
<div><font size="2">vtkErrorMacro(</font><font color="#a31515" size="2"><font color="#a31515" size="2">&quot;Invalid number of unstructured points read; check that ByteOrder is set correctly.&quot;</font></font><font size="2">);</font></div>

<div><font color="#0000ff" size="2"><font color="#0000ff" size="2">return</font></font><font size="2"> -1;</font></div>
<div><font size="2">}</font></div>
<div><font size="2">---------</font></div>
<div> </div>
<div>    <br><br></div>
<div class="gmail_quote">On Tue, Sep 1, 2009 at 1:50 PM, <a href="mailto:Bastil2001@yahoo.de">Bastil2001@yahoo.de</a> <span dir="ltr">&lt;<a href="mailto:Bastil2001@yahoo.de">Bastil2001@yahoo.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi all,<br><br>I get this error when reading in a (large) Ensight binary case that can<br>be read by Ensight. ens_checker also reports no errors.<br>
<br>The problem is reported from line 2502 from<br>vkEnSightGoldBinaryReader.cxx (revision 1.83). It seems that Ensight<br>Cases can be ok even if this check fails....<br><br>I wanted to try running it without this check but failed to build a<br>
custom Ensight reader as a plugin for various reasons. What can be done<br>to find the problem. Thanks.<br><br>Regards BastiL<br><br><br>_______________________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br></blockquote></div><br><br clear="all">

<div></div><br>-- <br>Zhanping Liu, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x 138<br><a href="http://www.zhanpingliu.org">http://www.zhanpingliu.org</a><br>