dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07114
error reading .vtu file in mayavi
i'm trying to read a .vtu file (e.g. temperature000001.vtu from
convection-diffusion example) in mayavi (version 1.5-4) but i'm getting
the error message:
Exception:
/var/lib/python-support/python2.5/mayavi/Sources/VtkDataReader.py: 49:
ParseException: Unknown data type: Known data types are:
UNSTRUCTURED_GRID, STRUCTURED_GRID, STRUCTURED_POINTS...
going to file VtkDataReader.py, supported data files are defined within
the list:
supported = ["UNSTRUCTURED_GRID", "STRUCTURED_GRID",
"STRUCTURED_POINTS", "RECTILINEAR_GRID", "POLYDATA" ]
changing the header from: ...UnstructuredGrid to UNSTRUCTURED_GRID (or
other trialled variants), the file opens but nothing shows and a console
error message appears, apparently in a internal "afterPy" vtk routine:
ERROR: In /build/buildd/vtk-5.0.3/IO/vtkDataReader.cxx, line 432
vtkUnstructuredGridReader (0x86ba690): Unrecognized file type:
<UNSTRUCTURED_GRI D> for file:
/home/pedro/Desktop/convection-diffusion_test/temperature000001.vtu
mayavi version problem or something else?
ps: can't get paraview working (missing Qt4.2, only Qt4.3 available)
Follow ups