[yt-users] yt file problems

Stephen Skory stephenskory at yahoo.com
Wed Jul 28 20:57:04 PDT 2010


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
________________________________(_)_\(_)_______________




More information about the yt-users mailing list