[Paraview] Possible Endian Issues on Paraview OS X Intel

Mike Jackson imikejackson at gmail.com
Sat Jul 8 16:05:27 EDT 2006


So I finally got Paraview 2.4.4 compiled and running on my MacBook  
Pro (thanks Everyone). I attempted to load up a file written with  
vtkXMLImageDataWriter and I get an Error that essentially locks up  
Paraview.

Here are the errors:

ErrorMessage
# Error or warning: There was a VTK Error in file: /Users/Shared/ 
OpenSource/para
view-2.4.4/VTK/IO/vtkXMLStructuredDataReader.cxx (313)
vtkXMLImageDataReader (0x16e7b940): Error reading extent 0 255 0 255  
0 255 from
piece 0
ErrorMessage end
ErrorMessage
# Error or warning: There was a VTK Error in file: /Users/Shared/ 
OpenSource/para
view-2.4.4/VTK/IO/vtkXMLDataReader.cxx (478)
vtkXMLImageDataReader (0x16e7b940): Cannot read point data array  
"RGB" from Poi
ntData in piece 0.  The data array in the element may be too short.
ErrorMessage end
ErrorMessage
# Error or warning: There was a VTK Error in file: /Users/Shared/ 
OpenSource/para
view-2.4.4/VTK/IO/vtkXMLStructuredDataReader.cxx (313)
vtkXMLImageDataReader (0x16e7b940): Error reading extent 0 255 0 255  
0 255 from
piece 0
ErrorMessage end
ErrorMessage
# Error or warning: There was a VTK Error in file: /Users/Shared/ 
OpenSource/para
view-2.4.4/VTK/IO/vtkXMLDataReader.cxx (478)
vtkXMLImageDataReader (0x16e7b940): Cannot read point data array  
"RGB" from Poi
ntData in piece 0.  The data array in the element may be too short.
ErrorMessage end

The same file loads and runs fine on a Powerbook G4 running the same  
OS X 10.4.7, but Paraview 2.4.3.

I scanned the source files but did not see anything that stuck out as  
testing for endianness. These same files also work on a Windows XP  
box if that helps.

Is the compile process for paraview making assumptions about byte  
ordering based on Operating System instead of actual hardware?

I _was_ able to load a legacy VTK Data file on the intel OS X machine  
just fine.

Should I rebuild in Debug instead of Release to get more details in  
the error message?
Would a Newer version of Paraview work? Is there a known bug?

I was using vtk 5.0.0 to write the xml base VTI file.


Respectfully?
--------
Mike Jackson
imikejackson <at> gmail <dot> com





More information about the ParaView mailing list