[yt-users] file permissions

Stephen Skory stephenskory at yahoo.com
Tue Mar 16 10:37:13 PDT 2010


Just after I sent my last email, I got this. I should have tried this first. Now *this* looks like it's trying to write something where I don't have permissions. Is there a work-around? I don't want to copy the data to a place I can write, it's 2TB.

>>> pf = load("/lustre/scratch/darkness/X2560/Dumps/RD0020/RD0020")
>>> pf.h
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/lustre/scratch/proj/yt_common/trunk/lib/python2.6/site-packages/yt-2.0dev-py2.6-linux-x86_64.egg/yt/lagos/OutputTypes.py", line 150, in _get_hierarchy
    self.__hierarchy = self._hierarchy_class(self, data_style=self.data_style)
  File "/lustre/scratch/proj/yt_common/trunk/lib/python2.6/site-packages/yt-2.0dev-py2.6-linux-x86_64.egg/yt/lagos/HierarchyType.py", line 374, in __init__
    AMRHierarchy.__init__(self, pf, data_style)
  File "/lustre/scratch/proj/yt_common/trunk/lib/python2.6/site-packages/yt-2.0dev-py2.6-linux-x86_64.egg/yt/lagos/HierarchyType.py", line 42, in __init__
    self._initialize_data_storage()
  File "/lustre/scratch/proj/yt_common/trunk/lib/python2.6/site-packages/yt-2.0dev-py2.6-linux-x86_64.egg/yt/lagos/HierarchyType.py", line 156, in _initialize_data_storage
    self.__create_data_file(fn)
  File "/lustre/scratch/proj/yt_common/trunk/lib/python2.6/site-packages/yt-2.0dev-py2.6-linux-x86_64.egg/yt/lagos/HierarchyType.py", line 162, in __create_data_file
    f = h5py.File(fn, 'a')
  File "/lustre/scratch/proj/yt_common/trunk/lib/python2.6/site-packages/h5py-1.2.1-py2.6-linux-x86_64.egg/h5py/highlevel.py", line 636, in __init__
    self.fid = h5f.create(name, h5f.ACC_EXCL, fapl=plist)
  File "/lustre/scratch/proj/yt_common/trunk/lib/python2.6/site-packages/h5py-1.2.1-py2.6-linux-x86_64.egg/h5py/_sync.py", line 88, in wrap
    return func(*args, **kwds)
  File "h5f.pyx", line 96, in h5py.h5f.create (h5py/h5f.c:1354)
h5py._stub.IOError: Permission denied (Internal error (too specific to document in detail): System error message)
 _______________________________________________________
sskory at physics.ucsd.edu           o__  Stephen Skory
http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
________________________________(_)_\(_)_______________



More information about the yt-users mailing list