Paraview problem

Submitted by Somnath on Mon, 05/24/2010 - 02:10

Hello Paraview Users,

I am having a problem with Paraview. It is showing the following error message:

Generic Warning: In /Users/partyd/Dashboards/MyTests/ParaView-3-8-0/ParaView3/VTK/IO/vtkDataReader.cxx, line 1383
Error reading ascii data. Possible mismatch of datasize with declaration.

I am using the custom dump command as instructed in the pizza.py manual

dump 480 all custom 50000 dump.pour.lammpstrj id type type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius

and then vtk.manyGran()

Any suggestions would be great!

Regards
Som

ckloss's picture

ckloss | Mon, 05/24/2010 - 10:36

Hi Som,

that could be due to the fact that you are reading a bunch of VTK files, say
file1.vtk
file2.vtk
file3.vtk
etc.
Where e.g. file3 has another data structure that file1 and file2. This can e.g. happen if you run a simulation, generate the VTK files, and re-run the simulation with different dump command generating less VTK files.
Try to erase all VTK files and re-generate them from the dump file.

Christoph

Somnath | Tue, 05/25/2010 - 00:25

Thanks Christoph! I will try that. Also, when I try to save an animation I get the following error. Would you know how to get around it? I am using Mac OS X 10.6+

Generic Warning: In /Users/partyd/Dashboards/MyTests/ParaView-3-8-0/ParaView3/VTK/IO/vtkFFMPEGWriter.cxx, line 195
Could not open codec.

ERROR: In /Users/partyd/Dashboards/MyTests/ParaView-3-8-0/ParaView3/VTK/IO/vtkFFMPEGWriter.cxx, line 497
vtkFFMPEGWriter (0x122644440): Error initializing video stream.

Regards
Som

ckloss's picture

ckloss | Tue, 05/25/2010 - 07:21

>>Also, when I try to save an animation I get the following error. Would you know how to get around it? I am using Mac OS X 10.6+

Sorry, I am not a Mac OS user. What I do is to save single pictures and then make a video from that. You can also try some paraview help or discusion board for assistance.

Best, Christoph

Somnath | Tue, 03/15/2011 - 09:28

Christoph,

I have run into this problem again where Paraview shows the error:


Generic Warning: In /Users/partyd/Kitware/ParaView-3.10/source/VTK/IO/vtkDataReader.cxx, line 1382
Error reading ascii data. Possible mismatch of datasize with declaration.

I have tried to erase all the VTK files and regenerate them from the dump file but the error pops from one particular VTK file onwards (say file24.vtk). I still get the error even if I try to open only file 24.vtk

What could it be? Might there be any issues with the dump command?

Thanks
Som

ckloss's picture

ckloss | Wed, 03/16/2011 - 12:47

Some versions of paraview throw this error (I guess its a bug) if the file size gets too large, maybe this is it.

Christoph