[yt-users] file permissions
Matthew Turk
matthewturk at gmail.com
Tue Mar 16 10:08:22 PDT 2010
Hi Stephen,
ParameterFileStorage is trying to write to your ~/.yt directory. I
believe the error message may be accurate. Try removing the existing
parameter_files.csv from that directory and trying again?
-Matt
On Tue, Mar 16, 2010 at 10:04 AM, Stephen Skory <stephenskory at yahoo.com> wrote:
> 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
> ________________________________(_)_\(_)_______________
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
More information about the yt-users
mailing list