[yt-users] IOError in h5py

j s oishi jsoishi at gmail.com
Mon Jan 7 07:54:57 PST 2013


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?

Jeff


On Mon, Jan 7, 2013 at 10:49 AM, Patrick Rieser
<patrick.rieser at 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,
> Patrick
>
> ______________________________**_________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/**listinfo.cgi/yt-users-**spacepope.org<http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130107/f439834e/attachment.htm>


More information about the yt-users mailing list