Bug#877150: python-h5netcdf FTBFS: OSError: Can't read data (no appropriate function for conversion path)

Adrian Bunk bunk at debian.org
Fri Sep 29 07:56:35 UTC 2017


Source: python-h5netcdf
Version: 0.3.1-1
Severity: serious

Some recent change in unstable makes python-h5netcdf FTBFS
and fail in Debci:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-h5netcdf.html
https://ci.debian.net/packages/p/python-h5netcdf/unstable/amd64/

...
Testing with python3.6:
============================= test session starts ==============================
platform linux -- Python 3.6.3rc1, pytest-3.2.1, py-1.4.34, pluggy-0.4.0
rootdir: /tmp/autopkgtest-virt-lxc.shared.yugb8pcz/downtmp/autopkgtest_tmp, inifile:
collected 17 items

tests/test_h5netcdf.py ..F...F..........

=================================== FAILURES ===================================
______________________ test_write_netCDF4_read_legacyapi _______________________

tmp_netcdf = '/tmp/pytest-of-debci/pytest-0/test_write_netCDF4_read_legacy0/testfile.nc'

    def test_write_netCDF4_read_legacyapi(tmp_netcdf):
>       roundtrip_legacy_netcdf(tmp_netcdf, legacyapi, netCDF4)

tests/test_h5netcdf.py:341: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_h5netcdf.py:329: in roundtrip_legacy_netcdf
    read_legacy_netcdf(tmp_netcdf, read_module, write_module)
tests/test_h5netcdf.py:191: in read_legacy_netcdf
    if is_h5py_char_working(tmp_netcdf, 'z'):
tests/test_h5netcdf.py:52: in is_h5py_char_working
    assert array_equal(v, _char_array)
tests/test_h5netcdf.py:32: in array_equal
    a, b = map(np.array, (a[...], b[...]))
h5py/_objects.pyx:54: in h5py._objects.with_phil.wrapper
    ???
h5py/_objects.pyx:55: in h5py._objects.with_phil.wrapper
    ???
/usr/lib/python3/dist-packages/h5py/_hl/dataset.py:496: in __getitem__
    self.id.read(mspace, fspace, arr, mtype, dxpl=self._dxpl)
h5py/_objects.pyx:54: in h5py._objects.with_phil.wrapper
    ???
h5py/_objects.pyx:55: in h5py._objects.with_phil.wrapper
    ???
h5py/h5d.pyx:181: in h5py.h5d.DatasetID.read
    ???
h5py/_proxy.pyx:130: in h5py._proxy.dset_rw
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   OSError: Can't read data (no appropriate function for conversion path)

h5py/_proxy.pyx:84: OSError
_______________________ test_write_netCDF4_read_h5netcdf _______________________

tmp_netcdf = '/tmp/pytest-of-debci/pytest-0/test_write_netCDF4_read_h5netc0/testfile.nc'

    def test_write_netCDF4_read_h5netcdf(tmp_netcdf):
        write_legacy_netcdf(tmp_netcdf, netCDF4)
>       read_h5netcdf(tmp_netcdf, netCDF4)

tests/test_h5netcdf.py:361: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_h5netcdf.py:279: in read_h5netcdf
    if is_h5py_char_working(tmp_netcdf, 'z'):
tests/test_h5netcdf.py:52: in is_h5py_char_working
    assert array_equal(v, _char_array)
tests/test_h5netcdf.py:32: in array_equal
    a, b = map(np.array, (a[...], b[...]))
h5py/_objects.pyx:54: in h5py._objects.with_phil.wrapper
    ???
h5py/_objects.pyx:55: in h5py._objects.with_phil.wrapper
    ???
/usr/lib/python3/dist-packages/h5py/_hl/dataset.py:496: in __getitem__
    self.id.read(mspace, fspace, arr, mtype, dxpl=self._dxpl)
h5py/_objects.pyx:54: in h5py._objects.with_phil.wrapper
    ???
h5py/_objects.pyx:55: in h5py._objects.with_phil.wrapper
    ???
h5py/h5d.pyx:181: in h5py.h5d.DatasetID.read
    ???
h5py/_proxy.pyx:130: in h5py._proxy.dset_rw
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   OSError: Can't read data (no appropriate function for conversion path)

h5py/_proxy.pyx:84: OSError



More information about the debian-science-maintainers mailing list