[yt-users] file permissions

Stephen Skory stephenskory at yahoo.com
Tue Mar 16 10:04:21 PDT 2010


Hi all,

I'm attempting to load an enzo dataset in a directory I don't have write permissions for. I am getting an error I believe because it's trying to write the binary hierarchy, but it can't. I am running Python in a directory I can write to, so can I either have yt write in the CWD or just skip the binary hierarchy?

Thanks!

>>> pf = load("/lustre/scratch/darkness/X2560/Dumps/RD0020/RD0020")
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/convenience.py", line 77, in load
    return output_type_registry[candidates[0]](*args, **kwargs)
  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 59, in __new__
    _pf_store.check_pf(obj)
  File "/lustre/scratch/proj/yt_common/trunk/lib/python2.6/site-packages/yt-2.0dev-py2.6-linux-x86_64.egg/yt/fido/ParameterFileStorage.py", line 152, in check_pf
    self.insert_pf(pf)
  File "/lustre/scratch/proj/yt_common/trunk/lib/python2.6/site-packages/yt-2.0dev-py2.6-linux-x86_64.egg/yt/fido/ParameterFileStorage.py", line 166, in insert_pf
    self.flush_db()
  File "/lustre/scratch/proj/yt_common/trunk/lib/python2.6/site-packages/yt-2.0dev-py2.6-linux-x86_64.egg/yt/fido/ParameterFileStorage.py", line 182, in flush_db
    self._write_out()
  File "/lustre/scratch/proj/yt_common/trunk/lib/python2.6/site-packages/yt-2.0dev-py2.6-linux-x86_64.egg/yt/fido/ParameterFileStorage.py", line 196, in _write_out
    f.close()
IOError: [Errno 122] Disk quota exceeded
 _______________________________________________________
sskory at physics.ucsd.edu           o__  Stephen Skory
http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
________________________________(_)_\(_)_______________




More information about the yt-users mailing list