Paraview failing to read legacy file

I created a python code that creates a legacy VTK file, but paraview is failing to read it, even thou it’s, as far as I can tell, following the proper formatting.

Paraview version I’m using is 5.13.2

Only thing I’m not sure is correct is using “float” instead of “double”, since what python calls a float is a double on other systems, but I testes changing them and still got the exact same errors.

Start of the file is as follows:

vtk DataFile Version 2.0

Teste
ASCII
DATASET STRUCTURED_POINTS
DIMENSIONS 128 128 127
ORIGIN 0 0 0
SPACING 0.0490625 0.0490625 0.0490625
POINT_DATA 2080768
VECTORS Rortex float
LOOKUP_TABLE default
1.155890000627035 0.3256918936921766 0.018256678259303306
0.0 -0.0 -0.0
4.052412929114809 -18.040831251448406 -3.8406562594587643
-0.0 -0.0 0.0
-2.626949714556726 -0.33413316228958717 0.11077602241015674
-0.0 0.0 0.0
(Rest of the data)

And the errors I get are:

Generic Warning: In vtkDataReader.cxx, line 1526
Error reading ascii data. Possible mismatch of datasize with declaration.

ERROR: In vtkDataReader.cxx, line 1024
vtkStructuredPointsReader (00000263DC0E6DA0): Unsupported point attribute type: -0.0 for file: C:\Users\Usuario\Documents\Pedro\Faculdade\Estagio_2023\Resultado\Teste.vtk

Any idea what could be causing it? Thank you for your help

Vectors have no lookup table

Both problems solved, thank you!

I feel bad for not noticing it smyself despite reading the file formats guide :melting_face: