# Problem opening same file twice

**URL:** https://discourse.paraview.org/t/problem-opening-same-file-twice/12036
**Category:** ParaView Support
**Created:** [May 7, 2023, 9:09am UTC](https://discourse.paraview.org/t/problem-opening-same-file-twice/12036 "2023-05-07T09:09:33Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![marta](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/a183cd/32.png) [@marta](https://discourse.paraview.org/u/marta)
#### Post date: [May 7, 2023, 9:09am UTC](https://discourse.paraview.org/t/problem-opening-same-file-twice/12036/1 "2023-05-07T09:09:33Z")

</div>

Hello,  
Once I open a .xmf file, if I close it and try to open it again I get these two errors:

ERROR: In vtkXdmfReader.cxx, line 487  
vtkXdmfReader (000001BED83E0F50): Failed to read data.

ERROR: In vtkExecutive.cxx, line 741  
vtkPVCompositeDataPipeline (000001BEB7F78A70): Algorithm vtkFileSeriesReader (000001BED8BA3E00) returned failure for request: vtkInformation (000001BEEDA2D190)  
Debug: Off  
Modified Time: 412731  
Reference Count: 1  
Registered Events: (none)  
Request: REQUEST\_DATA  
FORWARD\_DIRECTION: 0  
ALGORITHM\_AFTER\_FORWARD: 1  
FROM\_OUTPUT\_PORT: 0

This happens both with some file I have already opened and visualized and some I have not.

Can you please help me solving this problem?  
Thank you in advance

---

<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 9, 2023, 1:25pm UTC](https://discourse.paraview.org/t/problem-opening-same-file-twice/12036/2 "2023-05-09T13:25:54Z")

</div>

Hi @marta and welcome,

Please share your file.

Best,

---

<div class="post-metadata">

### Author: ![marta](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/a183cd/32.png) [@marta](https://discourse.paraview.org/u/marta)
#### Post date: [May 11, 2023, 10:12am UTC](https://discourse.paraview.org/t/problem-opening-same-file-twice/12036/3 "2023-05-11T10:12:55Z")

</div>

Hi,  
I am attaching the file  
[T4621\_L.xmf](https://discourse.paraview.org/uploads/short-url/zw1QeijqAoIVLcuC4YNdGa6gRun.xmf) (2.3 KB)

I managed this problem saving the file in .pvd format but I am still interested in understanding why this happens.

Best,  
Marta

---

<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 11, 2023, 10:16am UTC](https://discourse.paraview.org/t/problem-opening-same-file-twice/12036/4 "2023-05-11T10:16:20Z")

</div>

I confirm that these file cannot be read by ParaView. But I do not know if this is a ParaView issue or a file issue. Investigation is needed.

---

<div class="post-metadata">

### Author: ![marta](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/a183cd/32.png) [@marta](https://discourse.paraview.org/u/marta)
#### Post date: [May 11, 2023, 10:19am UTC](https://discourse.paraview.org/t/problem-opening-same-file-twice/12036/5 "2023-05-11T10:19:04Z")

</div>

The problem is that I was able to open it a first time and then I couldn’t do it anymore… I had to rerun the simulation and rewrite the .xmf file!  
For now I will just save it with the .pvd format after opening it the first time, since this seems to work…

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 16, 2023, 11:47am UTC](https://discourse.paraview.org/t/problem-opening-same-file-twice/12036/6 "2023-05-16T11:47:14Z")

</div>

I wonder if some caching is getting confused here. Not sure what filter is doing such things though.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 16, 2023, 11:47am UTC](https://discourse.paraview.org/t/problem-opening-same-file-twice/12036/7 "2023-05-16T11:47:43Z")

</div>

@Dave_DeMarle?

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [May 16, 2023, 4:41pm UTC](https://discourse.paraview.org/t/problem-opening-same-file-twice/12036/8 "2023-05-16T16:41:52Z")

</div>

Wild guess here. Assuming Marta isn’t being fooled, the file is opened once. ParaView then (on closing) will write a configuration file. The file won’t open again. Issue with something in the configuration file? One way to test, Marta, is to blow away configuration files. Edit/ Reset to Default Settings. Backup the files please. If this fixes it, Kitware will probably want these files.
