{"action":"closed","issue":{"url":"https://api.github.com/repos/h5py/h5py/issues/525","labels_url":"https://api.github.com/repos/h5py/h5py/issues/525/labels{/name}","comments_url":"https://api.github.com/repos/h5py/h5py/issues/525/comments","events_url":"https://api.github.com/repos/h5py/h5py/issues/525/events","html_url":"https://github.com/h5py/h5py/issues/525","id":53926881,"number":525,"title":"Cannot create empty HDF5 file using HDF5 1.8.4 (works fine with 1.8.13 and greater)","user":{"login":"ElDeveloper","id":375307,"avatar_url":"https://avatars.githubusercontent.com/u/375307?v=3","gravatar_id":"","url":"https://api.github.com/users/ElDeveloper","html_url":"https://github.com/ElDeveloper","followers_url":"https://api.github.com/users/ElDeveloper/followers","following_url":"https://api.github.com/users/ElDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/ElDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/ElDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElDeveloper/subscriptions","organizations_url":"https://api.github.com/users/ElDeveloper/orgs","repos_url":"https://api.github.com/users/ElDeveloper/repos","events_url":"https://api.github.com/users/ElDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/ElDeveloper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/h5py/h5py/labels/bug-in-hdf5","name":"bug-in-hdf5","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-09T23:07:56Z","updated_at":"2015-01-09T23:27:40Z","closed_at":"2015-01-09T23:27:40Z","body":"When creating an empty dataset using HDF5 1.8.4, the following exception is raised:\r\n\r\n```python\r\n/usr/local/lib/python2.7/dist-packages/h5py/_hl/group.pyc in create_dataset(self, name, shape, dtype, data, **kwds)\r\n     97         \"\"\"\r\n     98         with phil:\r\n---> 99             dsid = dataset.make_new_dset(self, shape, dtype, data, **kwds)\r\n    100             dset = dataset.Dataset(dsid)\r\n    101             if name is not None:\r\n\r\n/usr/local/lib/python2.7/dist-packages/h5py/_hl/dataset.pyc in make_new_dset(parent, shape, dtype, data, chunks, compression, shuffle, fletcher32, maxshape, compression_opts, fillvalue, scaleoffset, track_times)\r\n    112     if maxshape is not None:\r\n    113         maxshape = tuple(m if m is not None else h5s.UNLIMITED for m in maxshape)\r\n--> 114     sid = h5s.create_simple(shape, maxshape)\r\n    115\r\n    116\r\n\r\n/usr/local/lib/python2.7/dist-packages/h5py/_objects.so in h5py._objects.with_phil.wrapper (/tmp/pip-build-8Ijz6u/h5py/h5py/_objects.c:2405)()\r\n\r\n/usr/local/lib/python2.7/dist-packages/h5py/_objects.so in h5py._objects.with_phil.wrapper (/tmp/pip-build-8Ijz6u/h5py/h5py/_objects.c:2362)()\r\n\r\n/usr/local/lib/python2.7/dist-packages/h5py/h5s.so in h5py.h5s.create_simple (/tmp/pip-build-8Ijz6u/h5py/h5py/h5s.c:1353)()\r\n\r\nValueError: Zero sized dimension for non-unlimited dimension (Zero sized dimension for non-unlimited dimension)\r\n```\r\n\r\nHowever, if the libraries are updated to something more recent, the problem goes away. At this point, it is unclear if this is really a bug of h5py or a limitation of those libraries. These tests were done using h5py 2.4.0."}}