# Error plotting meshtally

**URL:** <https://openmc.discourse.group/t/error-plotting-meshtally/146>\
**Category:** User Support\
**Created:** [April 27, 2015, 7:50am UTC](https://openmc.discourse.group/t/error-plotting-meshtally/146 "2015-04-27T07:50:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![khurrum](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@khurrum](https://openmc.discourse.group/u/khurrum)\
**Post date:** [April 27, 2015, 7:50am UTC](https://openmc.discourse.group/t/error-plotting-meshtally/146/1 "2015-04-27T07:50:33Z")

</div>

Hye everyone…

I installed a fresh copy of openmc and now having trouble plotting meshtally.

Traceback (most recent call last):  
File “plot\_mesh\_tally.py”, line 328, in   
app = MeshPlotter(root, filename)  
File “plot\_mesh\_tally.py”, line 42, in **init**  
self.get\_file\_data(filename)  
File “plot\_mesh\_tally.py”, line 295, in get\_file\_data  
self.datafile.generate\_stdev()  
AttributeError: ‘StatePoint’ object has no attribute ‘generate\_stdev’

thanks in advance for your help

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [April 28, 2015, 8:34am UTC](https://openmc.discourse.group/t/error-plotting-meshtally/146/2 "2015-04-28T08:34:34Z")

</div>

I would recommend using a release version of OpenMC rather than the ‘develop’ branch which is not guaranteed to be stable. In this case, the statepoint.py file recently changed and not all the utilities have been updated accordingly. They will be fixed by the time of the next release.

Best,  
Paul

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [May 2, 2015, 1:32am UTC](https://openmc.discourse.group/t/error-plotting-meshtally/146/3 "2015-05-02T01:32:16Z")

</div>

FYI- the plot\_mesh\_tally.py script has been fixed on the developmental branch. See: [https://github.com/mit-crpg/openmc/pull/378](https://github.com/mit-crpg/openmc/pull/378)

Best,  
Paul
