[yt-users] yt file problems
Matthew Turk
matthewturk at gmail.com
Wed Jul 28 21:01:29 PDT 2010
Hi Stephen,
It's having issues with the ~/.yt/parameter_files.csv file. Try
clearing that and running again ... are you by any chance running a
whole bunch of scripts simultaneously?
-Matt
On Wed, Jul 28, 2010 at 8:57 PM, Stephen Skory <stephenskory at yahoo.com> wrote:
> Hi all,
>
> I am running a script that does a for loop over a set of time ordered data
> dumps. I am fairly consistently getting this error, but at different points in
> the for loop cycle. This suggests that this is a file system error (this is on
> Triton), but I'm not sure. Does anyone have any ideas of why things would fail
> here in an inconsistent fashion? Thanks!
>
> File "./camera.py", line 167, in <module>
> pf = load(dirs[count])
> File
> "/home/sskory/yt/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
> "/home/sskory/yt/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
> "/home/sskory/yt/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
> "/home/sskory/yt/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
> "/home/sskory/yt/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
> "/home/sskory/yt/lib/python2.6/site-packages/yt-2.0dev-py2.6-linux-x86_64.egg/yt/fido/ParameterFileStorage.py",
> line 197, in _write_out
> os.rename("%s.tmp" % fn, fn)
> OSError: [Errno 2] No such file or directory
> _______________________________________________________
> 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