Mesh Plotter Error

Greetings,

When i run the openmc-plot-mesh-tally command and select the statepoint file i get the following error message:

Traceback (most recent call last):
File "/home/ssartur/miniconda3/envs/montecarlo/bin/openmc-plot-mesh-tally", line 327, in <module>
  app = MeshPlotter(root, filename)
File "/home/ssartur/miniconda3/envs/montecarlo/bin/openmc-plot-mesh-tally", line 29, in __init__
  super().__init__(self, parent)
File "/home/ssartur/miniconda3/envs/montecarlo/lib/python3.7/tkinter/__init__.py", line 2744, in __init__
  Widget.__init__(self, master, 'frame', cnf, {}, extra)
File "/home/ssartur/miniconda3/envs/montecarlo/lib/python3.7/tkinter/__init__.py", line 2292, in __init__
  BaseWidget._setup(self, master, cnf)
File "/home/ssartur/miniconda3/envs/montecarlo/lib/python3.7/tkinter/__init__.py", line 2262, in _setup
  self.tk = master.tk
AttributeError: 'MeshPlotter' object has no attribute 'tk'

I just updated OpenMC to version 0.12 and i was not getting this error in the previous version. I am using Ubuntu 16.04, Conda 4.7.12, Python 3.7.9 and an environment with all the packages installed with Conda.
Could somebody help me with this issue?

Thanks in advance,
Artur Souza

Hi @Artur,

@RonRahamanANL fixed this issue #1644.

Thanks very much @Pranto. I fixed the code and the plot-mesh-tally worked.

How did you do it? Just update OpenMC? I have update the code to v0.12.0, but the problem still exist.

me too, still have the problem