Hi Patrick,

What happens if you do

$ h5ls <filename>

where <filename> is the file you're trying to open? This looks like it could be an error outside of yt.

Also, can you load() any other snapshots?


On Mon, Jan 7, 2013 at 10:49 AM, Patrick Rieser <patrick.rieser@uibk.ac.at> wrote:
I stumbled over some error in yt while executing a script that used to work on an older version of yt. Here is the traceback:

  File "start_SGE.py", line 28, in <module>
  File "/home/patrick/Auswertung/yt-run/Find_Clumps/get_name.py", line 58, in get_snapshots
  File "/home/patrick/Auswertung/yt-run/Find_Clumps/get_name.py", line 43, in get_redshift
  File "/home/patrick/Programme/yt-x86_64/src/yt-hg/yt/convenience.py", line 71, in load
  File "/home/patrick/Programme/yt-x86_64/src/yt-hg/yt/frontends/flash/data_structures.py", line 218, in __init__
  File "/home/patrick/Programme/yt-x86_64/lib/python2.7/site-packages/h5py/_hl/files.py", line 165, in __init__
  File "/home/patrick/Programme/yt-x86_64/lib/python2.7/site-packages/h5py/_hl/files.py", line 57, in make_fid
  File "h5f.pyx", line 70, in h5py.h5f.open (h5py/h5f.c:1626)
IOError: unable to open file (File accessability: Unable to open file)
Exception AttributeError: "'NoneType' object has no attribute 'close'" in  ignored

I'd be very thankful if somebody got any idea how to fix this!

Best wishes,

yt-users mailing list