[Paraview] Re: Possible Endian Issues on Paraview OS X Intel

Mike Jackson imikejackson at gmail.com
Sat Jul 8 17:52:52 EDT 2006


I took the same data file that would NOT load in Paraview and wrote  
this small program to load and display it. The program works fine  
compiled against vtk 5.0.0

I then compiled/Linked against the build of VTK that Paraview uses  
and low a behold the same error occurs. So if I am using Paraview  
2.4.4, what version of VTK am I using? Can I substitute in VTK 5.0.0  
for the VTK that is in Paraview 2.4.4?

Thanks for any help.

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



On Jul 8, 2006, at 4:05 PM, Mike Jackson wrote:

> 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