[Paraview] Ensight Reader: Invalid number of unstructured points read; check that ByteOrder is set correctly

Bastil2001 at yahoo.de Bastil2001 at yahoo.de
Tue Sep 1 15:32:01 EDT 2009


Hi Zhanping,

I don't really understand what you mean by "divided into multiple
files"? It is an export from the FLUENT CFD code and it consists of an
case, geo and several scalar files. What can I do to support you further
finding the problem?

Regards BastiL

Zhanping Liu schrieb:
> Hi BastiL:
>  
>    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?
>  
>    Thanks.
>  
>    -Zhanping
>  
> ----------
> if (numPts < 0 || numPts > this->FileSize || numPts * (int)sizeof(int)
> > this->FileSize)
> {
> vtkErrorMacro("Invalid number of unstructured points read; check that
> ByteOrder is set correctly.");
> return -1;
> }
> ---------
>  
>    
>
> On Tue, Sep 1, 2009 at 1:50 PM, Bastil2001 at yahoo.de
> <mailto:Bastil2001 at yahoo.de> <Bastil2001 at yahoo.de
> <mailto:Bastil2001 at yahoo.de>> wrote:
>
>     Hi all,
>
>     I get this error when reading in a (large) Ensight binary case
>     that can
>     be read by Ensight. ens_checker also reports no errors.
>
>     The problem is reported from line 2502 from
>     vkEnSightGoldBinaryReader.cxx (revision 1.83). It seems that Ensight
>     Cases can be ok even if this check fails....
>
>     I wanted to try running it without this check but failed to build a
>     custom Ensight reader as a plugin for various reasons. What can be
>     done
>     to find the problem. Thanks.
>
>     Regards BastiL
>
>
>     _______________________________________________
>     Powered by www.kitware.com <http://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
>
>
>
>
> -- 
> Zhanping Liu, PhD
> Kitware, Inc.
> 28 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-371-3971 x 138
> http://www.zhanpingliu.org



More information about the ParaView mailing list