# error while importing vtr file in paraview

**URL:** https://discourse.paraview.org/t/error-while-importing-vtr-file-in-paraview/1935
**Category:** ParaView Support
**Created:** [May 28, 2019, 5:29am UTC](https://discourse.paraview.org/t/error-while-importing-vtr-file-in-paraview/1935 "2019-05-28T05:29:01Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![sonali](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/958977/32.png) [@sonali](https://discourse.paraview.org/u/sonali)
#### Post date: [May 28, 2019, 5:29am UTC](https://discourse.paraview.org/t/error-while-importing-vtr-file-in-paraview/1935/1 "2019-05-28T05:29:01Z")

</div>

Dear Experts

```
I created a vtr file to visualize with paraview , but when I am opening it in paraview , the following errors are coming in output messages section:
####################################################################
ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XML/vtkXMLStructuredDataReader.cxx, line 360

vtkXMLRectilinearGridReader (0x7206460): Error reading extent 0 139 0 139 0 139 from piece 0

ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XML/vtkXMLDataReader.cxx, line 415

vtkXMLRectilinearGridReader (0x7206460): Cannot read point data array "energy" from PointData in piece 0. The data array in the element may be too short.
##################################################################

```

please help me out of this.

Thanks ang regards.  
Sonali.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 28, 2019, 7:30am UTC](https://discourse.paraview.org/t/error-while-importing-vtr-file-in-paraview/1935/2 "2019-05-28T07:30:00Z")

</div>

Looks like an error in your file, can you share it ?

---

<div class="post-metadata">

### Author: ![sonali](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/958977/32.png) [@sonali](https://discourse.paraview.org/u/sonali)
#### Post date: [May 28, 2019, 7:45am UTC](https://discourse.paraview.org/t/error-while-importing-vtr-file-in-paraview/1935/3 "2019-05-28T07:45:50Z")

</div>

Thanks for your earlier reply. Please find the vtr file attached alongwith. Also find attached alongwith the python script I am using to create the file and the required files.

Regards

[vtk.vtr](https://discourse.paraview.org/uploads/default/original/2X/d/d5f4dfb7601e0b1e526d45f7b9d4df5ea4ce26cd.vtr) (6.45 KB)

[spin.py](https://discourse.paraview.org/uploads/default/original/2X/0/0920397af251af6e7c92d76e8653c2ed254207da.py) (1.2 KB)

[band](https://discourse.paraview.org/uploads/default/original/2X/a/a43aef95c283e1f57ac1c5189c837666e18a3dfc) (6.97 KB)

[spin\_final](https://discourse.paraview.org/uploads/default/original/2X/0/08e6690c80041ced2ab0d21a5f38c09994a47cf4) (3.01 KB)

[kpoints](https://discourse.paraview.org/uploads/default/original/2X/6/641fb38065315968bc8a920ad4c432e2a2b4bece) (10.4 KB)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 28, 2019, 7:48am UTC](https://discourse.paraview.org/t/error-while-importing-vtr-file-in-paraview/1935/4 "2019-05-28T07:48:35Z")

</div>

Well, your binary is not as big as the XML claims it to be, you will need to check your data generation code. You may want to use ASCII for debugging.

---

<div class="post-metadata">

### Author: ![sonali](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/958977/32.png) [@sonali](https://discourse.paraview.org/u/sonali)
#### Post date: [June 10, 2019, 11:13am UTC](https://discourse.paraview.org/t/error-while-importing-vtr-file-in-paraview/1935/5 "2019-06-10T11:13:41Z")

</div>

Hi

I have attached new file which is in Mbs now. I am only able to see grid whereas I also want to see two other properties. Could you please check this , why I am only getting the grid and not the properties inside the grid.

Regards

[file1.vtr](https://discourse.paraview.org/uploads/default/original/2X/7/763b722df4677bfa98656afd82878108b855e5ae.vtr) (3.91 MB)

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [June 11, 2019, 2:01pm UTC](https://discourse.paraview.org/t/error-while-importing-vtr-file-in-paraview/1935/6 "2019-06-11T14:01:45Z")

</div>

The `file1.vtr` you attached only has 1 scalar variable, `energy`.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/a/a479d2d340023e67ccef7b0f91e3e56981d0cb4c.png)

---

<div class="post-metadata">

### Author: ![suwenjie](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/45deac/32.png) [@suwenjie](https://discourse.paraview.org/u/suwenjie)
#### Post date: [July 20, 2019, 7:28am UTC](https://discourse.paraview.org/t/error-while-importing-vtr-file-in-paraview/1935/7 "2019-07-20T07:28:05Z")

</div>

Hi,  
I am a graduate student at Harbin Engineering University.I recently encountered the same problem in the process of learning the software. How do you solve it?Is it convenient to tell me?  
Thanks.
