Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tree: OSError: Can't read data - water_224.h5 from SILX #214

Open
prjemian opened this issue Sep 7, 2022 · 1 comment
Open

tree: OSError: Can't read data - water_224.h5 from SILX #214

prjemian opened this issue Sep 7, 2022 · 1 comment
Assignees
Labels

Comments

@prjemian
Copy link
Owner

prjemian commented Sep 7, 2022

Using the tree command with file water_224.h5 (from H5Web), received this exception trace:

(bluesky_2022_3) prjemian@zap:~$ punx tree /tmp/water_224.h5  

!!! WARNING: this program is not ready for distribution.

Traceback (most recent call last):
  File "/home/prjemian/micromamba/envs/bluesky_2022_3/bin/punx", line 10, in <module>
    sys.exit(main())
  File "/home/prjemian/micromamba/envs/bluesky_2022_3/lib/python3.9/site-packages/punx/main.py", line 414, in main
    args.func(args)
  File "/home/prjemian/micromamba/envs/bluesky_2022_3/lib/python3.9/site-packages/punx/main.py", line 183, in func_tree
    report = mc.report(args.show_attributes)
  File "/home/prjemian/micromamba/envs/bluesky_2022_3/lib/python3.9/site-packages/punx/h5tree.py", line 87, in report
    tree_string_list = self._renderGroup(f, txt, indentation="")
  File "/home/prjemian/micromamba/envs/bluesky_2022_3/lib/python3.9/site-packages/punx/h5tree.py", line 173, in _renderGroup
    g = self._renderGroup(value, itemname, indentation + "  ", md)
  File "/home/prjemian/micromamba/envs/bluesky_2022_3/lib/python3.9/site-packages/punx/h5tree.py", line 173, in _renderGroup
    g = self._renderGroup(value, itemname, indentation + "  ", md)
  File "/home/prjemian/micromamba/envs/bluesky_2022_3/lib/python3.9/site-packages/punx/h5tree.py", line 156, in _renderGroup
    s += self._renderDataset(value, itemname, indentation + "  ")
  File "/home/prjemian/micromamba/envs/bluesky_2022_3/lib/python3.9/site-packages/punx/h5tree.py", line 245, in _renderDataset
    value = self._renderArray(dset, indentation + "  ")
  File "/home/prjemian/micromamba/envs/bluesky_2022_3/lib/python3.9/site-packages/punx/h5tree.py", line 304, in _renderArray
    r = self._renderNdArray(obj, indentation + "  ")
  File "/home/prjemian/micromamba/envs/bluesky_2022_3/lib/python3.9/site-packages/punx/h5tree.py", line 337, in _renderNdArray
    r.append(__render(obj, rank, i, indentation + "  "))
  File "/home/prjemian/micromamba/envs/bluesky_2022_3/lib/python3.9/site-packages/punx/h5tree.py", line 323, in __render
    part = eval("obj[%s]" % indices)
  File "<string>", 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 "/home/prjemian/micromamba/envs/bluesky_2022_3/lib/python3.9/site-packages/h5py/_hl/dataset.py", line 741, in __getitem__
    return self._fast_reader.read(args)
  File "h5py/_selector.pyx", line 370, in h5py._selector.Reader.read
OSError: Can't read data (can't open directory: /home/prjemian/micromamba/envs/bluesky_2022_3/lib/hdf5/plugin)
@prjemian prjemian added the bug label Sep 7, 2022
@prjemian prjemian added this to the v1.0.0-release milestone Sep 7, 2022
@prjemian prjemian self-assigned this Sep 7, 2022
@prjemian
Copy link
Owner Author

prjemian commented Sep 7, 2022

From http://www.silx.org/pub/h5web/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant