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@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
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@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@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Matt,
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?
Yes, that's exactly what I'm doing. I've set up a cheap pseudo-parallel jobby that is running stuff simultaneously. Any recommendations on what to do about this? Thanks! _______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
Hi Stephen, from yt.config import ytcfg; ytcfg["yt","StoreParameterFiles"] = "False" may fix it. Put that at the very top, before yt.mods. -Matt On Wed, Jul 28, 2010 at 9:05 PM, Stephen Skory <stephenskory@yahoo.com> wrote:
Matt,
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?
Yes, that's exactly what I'm doing. I've set up a cheap pseudo-parallel jobby that is running stuff simultaneously. Any recommendations on what to do about this? Thanks!
_______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Matthew Turk
-
Stephen Skory