Error converting tally results to vtk file

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.

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.

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.

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.

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

amazing, thanks very much