The problem: We have a pip package where during installation a .h5 file is copied to the a user environment:
'/Users/theuser/anaconda2/envs/cryolo3/lib/python2.7/site-packages/cryolo/full_yolo_backend.h5'
However, h5py (version 2.8.0) cannot read it:
import h5py
h5py.h5f.open("/Users/theuser/anaconda2/envs/cryolo3/lib/python2.7/site-packages/cryolo/full_yolo_backend.h5")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 78, in h5py.h5f.open
IOError: Unable to open file (file read failed: time = Mon Jul 9 23:29:28 2018
, filename = '/Users/theuser/anaconda2/envs/cryolo3/lib/python2.7/site-packages/cryolo/full_yolo_backend.h5', file descriptor = 3, errno = 5, error message = 'Input/output error', buf = 0x7ffc467cf9b0, total read size = 8, bytes this sub-read = 8, bytes actually read = 18446744073709551615, offset = 0)
If we untar the pip package and try to load the .h5 file it works.
md5sum is equal for both files. Permissions seems to be OK. Problem occurs in Red Hat.
Any suggestions?
Best, Thorsten
--
You received this message because you are subscribed to the Google Groups "h5py" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h5py+uns...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
/Users/theuser/anaconda2
The error still occurs.
Best,
Thorsten