Error: Infinite Loop in Projection Plot

Hello,

I’m using OpenMC v0.15.0 and am trying to generate a .gif of my geometry with openmc.ProjectionPlot (now called openmc.WireframeRayTracePlot) similar to the example provided in the user guide. However, I periodically receive the following error:

Traceback (most recent call last):
  File ".../my_script.py", line 1360, in <module>
    main()
  File ".../my_script.py", line 1355, in main
    openmc.plot_geometry()
  File ".../miniforge/envs/openmc-env/lib/python3.12/site-packages/openmc/executor.py", line 154, in plot_geometry
    _run(args, output, cwd)
  File ".../miniforge/envs/openmc-env/lib/python3.12/site-packages/openmc/executor.py", line 125, in _run
    raise RuntimeError(error_msg)
RuntimeError: Infinite loop in projection plot

I tried tracking down the error in the source, but I’m not sure I’m looking in the right places.

Any suggestions?