# Error converting tally results to vtk file

**URL:** https://openmc.discourse.group/t/error-converting-tally-results-to-vtk-file/3355
**Category:** User Support
**Created:** [August 25, 2023, 12:33pm UTC](https://openmc.discourse.group/t/error-converting-tally-results-to-vtk-file/3355 "2023-08-25T12:33:05Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![srichr221](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/srichr221/32/2360_2.png) [@srichr221](https://openmc.discourse.group/u/srichr221)
#### Post date: [August 25, 2023, 12:33pm UTC](https://openmc.discourse.group/t/error-converting-tally-results-to-vtk-file/3355/1 "2023-08-25T12:33:05Z")

</div>

Hi, running task 12 in the fusion workshop docker container and it’s having trouble converting the tally results into a vtk file I can download. I tried adding ‘pip install openmc-mesh-tally-to-vtk’ but no avail.

 ![image001](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/2/203c7ea75477732cc218d7067d0aaa528e95f24e.png)

---

<div class="post-metadata">

### Author: ![srichr221](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/srichr221/32/2360_2.png) [@srichr221](https://openmc.discourse.group/u/srichr221)
#### Post date: [August 25, 2023, 1:45pm UTC](https://openmc.discourse.group/t/error-converting-tally-results-to-vtk-file/3355/2 "2023-08-25T13:45:12Z")

</div>

I’ve tried using the open-mc plotter package because I’ve been told one can export files to vtk using this. However, I have had difficulties using it. I’m trying to access the model.xml file I have in my downloads.

 ![Screenshot 2023-08-25 at 14.44.03](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/d/d6614ca4e63321d27e38b12b333f149674b1e524.png)

---

<div class="post-metadata">

### Author: ![Shimwell](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/shimwell/32/3876_2.png) [@Shimwell](https://openmc.discourse.group/u/Shimwell)
#### Post date: [August 29, 2023, 9:33am UTC](https://openmc.discourse.group/t/error-converting-tally-results-to-vtk-file/3355/3 "2023-08-29T09:33:50Z")

</div>

Thanks for attaching the screenshot, I’ve read the error message at the bottom and it suggests the vtk import caused a crash

`Initialization failed for vtkWebCore, not compatible with vtkmodules.vtkCommonCore`

I guess there have been changes with vtk but it appears to be an error with vtk and not so much openmc. We could try a different version of vtk.

---

<div class="post-metadata">

### Author: ![Shimwell](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/shimwell/32/3876_2.png) [@Shimwell](https://openmc.discourse.group/u/Shimwell)
#### Post date: [August 29, 2023, 10:09am UTC](https://openmc.discourse.group/t/error-converting-tally-results-to-vtk-file/3355/4 "2023-08-29T10:09:46Z")

</div>

I’ve reproduced the error message using vtk-9.2.6

I tried vtk version vtk-9.2.5 and it appears to not have the same error message when imported

I can change the docker image to use this version and make a new release of the neutronics-workshop docker image.

---

<div class="post-metadata">

### Author: ![Shimwell](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/shimwell/32/3876_2.png) [@Shimwell](https://openmc.discourse.group/u/Shimwell)
#### Post date: [August 31, 2023, 12:52pm UTC](https://openmc.discourse.group/t/error-converting-tally-results-to-vtk-file/3355/5 "2023-08-31T12:52:37Z")

</div>

I’ve now updated the neutronics-workshop docker image

So you could download the latest version with

`docker pull ghcr.io/fusion-energy/neutronics-workshop`  
and run it with  
`docker run -p 8888:8888 ghcr.io/fusion-energy/neutronics-workshop`

---

<div class="post-metadata">

### Author: ![srichr221](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/srichr221/32/2360_2.png) [@srichr221](https://openmc.discourse.group/u/srichr221)
#### Post date: [September 1, 2023, 4:35pm UTC](https://openmc.discourse.group/t/error-converting-tally-results-to-vtk-file/3355/6 "2023-09-01T16:35:36Z")

</div>

amazing, thanks very much
