# Error on reading .vtk file for every time step but at the same line number

**URL:** https://discourse.paraview.org/t/error-on-reading-vtk-file-for-every-time-step-but-at-the-same-line-number/8241
**Category:** ParaView Support
**Tags:** vtk
**Created:** [October 22, 2021, 11:47pm UTC](https://discourse.paraview.org/t/error-on-reading-vtk-file-for-every-time-step-but-at-the-same-line-number/8241 "2021-10-22T23:47:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![spy](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/a9a28c/32.png) [@spy](https://discourse.paraview.org/u/spy)
#### Post date: [October 22, 2021, 11:47pm UTC](https://discourse.paraview.org/t/error-on-reading-vtk-file-for-every-time-step-but-at-the-same-line-number/8241/1 "2021-10-22T23:47:07Z")

</div>

Generic Warning: In C:\glr\builds\paraview\paraview-ci\build\superbuild\paraview\src\VTK\IO\Legacy\vtkDataReader.cxx, **line 1506**

Error reading ascii data. Possible mismatch of datasize with declaration.

ERROR: In C:\glr\builds\paraview\paraview-ci\build\superbuild\paraview\src\VTK\IO\Legacy\vtkDataReader.cxx, **line 1007**

vtkStructuredGridReader (0000020935A8EF60): Unsupported point attribute type: 2.183574e-53 for

---

<div class="post-metadata">

### Author: ![Francois\_Mazen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/francois_mazen/32/6483_2.png) [@Francois\_Mazen](https://discourse.paraview.org/u/Francois_Mazen)
#### Post date: [October 23, 2021, 3:15pm UTC](https://discourse.paraview.org/t/error-on-reading-vtk-file-for-every-time-step-but-at-the-same-line-number/8241/2 "2021-10-23T15:15:13Z")

</div>

Could you please share your data?

---

<div class="post-metadata">

### Author: ![Shivam\_Yadav](https://discourse.paraview.org/user_avatar/discourse.paraview.org/shivam_yadav/32/7807_2.png) [@Shivam\_Yadav](https://discourse.paraview.org/u/Shivam_Yadav)
#### Post date: [October 23, 2021, 3:33pm UTC](https://discourse.paraview.org/t/error-on-reading-vtk-file-for-every-time-step-but-at-the-same-line-number/8241/3 "2021-10-23T15:33:31Z")

</div>

[nucleus.m](https://discourse.paraview.org/uploads/short-url/ELEzYfFYKSkS10G35V7r804GTR.m) (292 Bytes)  
[Dendritic\_Growth.m](https://discourse.paraview.org/uploads/short-url/AlczcZj6fUCQXs1AKu7rYqRFg0c.m) (2.9 KB)  
[write\_vtk\_grid\_values.m](https://discourse.paraview.org/uploads/short-url/qXYFm1PNKd890Rnnm5nKazaTUXb.m) (1.1 KB)

---

<div class="post-metadata">

### Author: ![spy](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/a9a28c/32.png) [@spy](https://discourse.paraview.org/u/spy)
#### Post date: [October 24, 2021, 10:08pm UTC](https://discourse.paraview.org/t/error-on-reading-vtk-file-for-every-time-step-but-at-the-same-line-number/8241/4 "2021-10-24T22:08:33Z")

</div>

Oh! I found out the solution.  
In the “write\_vtk\_grid\_values.m” file → Line 44 and 56, the values are written out in the format ‘double’ instead of ‘float’.

---

<div class="post-metadata">

### Author: ![greza](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/3da27b/32.png) [@greza](https://discourse.paraview.org/u/greza)
#### Post date: [May 25, 2022, 1:32pm UTC](https://discourse.paraview.org/t/error-on-reading-vtk-file-for-every-time-step-but-at-the-same-line-number/8241/5 "2022-05-25T13:32:43Z")

</div>

hi  
I have the same problem with these three .m files.  
what changes should I apply to write\_vtk\_grid\_values.m file in lines 44 up to 56?
