problem with example 00-intro.ipynb

10 views
Skip to first unread message

Anil Kumar Tyagi

unread,
Apr 20, 2023, 2:23:40 AM4/20/23
to PyNE Users
Hi,

I am having problem in running first example. Can someone please help?
The error is coming from line
SlicePlot(PyneMoabHex8Dataset(m), 'z', 'sigma_t', origin='native').display()

and error is 
yt : [INFO     ] 2023-04-20 11:53:12,560 Parameters: current_time              = 0.0
yt : [INFO     ] 2023-04-20 11:53:12,560 Parameters: domain_dimensions         = [1. 1. 1.]
yt : [INFO     ] 2023-04-20 11:53:12,561 Parameters: domain_left_edge          = [0. 0. 0.]
yt : [INFO     ] 2023-04-20 11:53:12,561 Parameters: domain_right_edge         = [1. 1. 1.]
yt : [INFO     ] 2023-04-20 11:53:12,561 Parameters: cosmological_simulation   = 0
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/solps/.local/lib/python3.8/site-packages/yt/data_objects/static_output.py", line 192, in __new__
    obj.__init__(filename, *args, **kwargs)
  File "/home/solps/.local/lib/python3.8/site-packages/yt/frontends/moab/data_structures.py", line 162, in __init__
    Dataset.__init__(
  File "/home/solps/.local/lib/python3.8/site-packages/yt/data_objects/static_output.py", line 273, in __init__
    _ds_store.check_ds(self)
  File "/home/solps/.local/lib/python3.8/site-packages/yt/utilities/parameter_file_storage.py", line 135, in check_ds
    hash = ds._hash()
  File "/home/solps/.local/lib/python3.8/site-packages/yt/data_objects/static_output.py", line 391, in _hash
    s = f"{self.basename};{self.current_time};{self.unique_identifier}"
  File "/usr/lib/python3.8/functools.py", line 967, in __get__
    val = self.func(instance)
  File "/home/solps/.local/lib/python3.8/site-packages/yt/data_objects/static_output.py", line 315, in unique_identifier
    retv = int(os.stat(self.parameter_filename)[ST_CTIME])
FileNotFoundError: [Errno 2] No such file or directory: '/home/solps/mcnp_tools/PYNE/tutorial/pyne_mesh_139808914738192'


Regards
Anil

Reply all
Reply to author
Forward
0 new messages