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

pymcaroitool: cannot open a file with broken links #1090

Open
woutdenolf opened this issue Oct 25, 2024 · 0 comments
Open

pymcaroitool: cannot open a file with broken links #1090

woutdenolf opened this issue Oct 25, 2024 · 0 comments

Comments

@woutdenolf
Copy link
Collaborator

merged_119.zip

pymcaroitool /tmp_14_days/merged_119.h5
CRITICAL:PyMca5.PyMcaGui.io.hdf5.HDF5Widget:Entry /119.1 has no children
CRITICAL:PyMca5.PyMcaGui.io.hdf5.HDF5Widget:Entry /119.1 has no children
ERROR:PyMca5.PyMcaGui.PyMcaQt:<class 'KeyError'> "Unable to synchronously open object (unable to open external file, external link file name = 'raw_119.h5')"   File "/users/denolf/.local/wdnbashutils/virtualenvs/ewoks/lib/python3.9/site-packages/PyMca5/PyMcaGui/pymca/QHDF5StackWizard.py", line 426, in initializePage
    self._datasetSelection.setFileList(self._fileList.fileList)
  File "/users/denolf/.local/wdnbashutils/virtualenvs/ewoks/lib/python3.9/site-packages/PyMca5/PyMcaGui/pymca/QHDF5StackWizard.py", line 222, in setFileList
    attr = entry[key].attrs.get('NX_class', None)
  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 "/users/denolf/.local/wdnbashutils/virtualenvs/ewoks/lib/python3.9/site-packages/h5py/_hl/group.py", line 357, in __getitem__
    oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
  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/h5o.pyx", line 241, in h5py.h5o.open

CRITICAL:PyMca5.PyMcaGui.io.hdf5.HDF5Widget:Entry /119.1 has no children
CRITICAL:PyMca5.PyMcaGui.io.hdf5.HDF5Widget:Entry /119.1 has no children
ERROR:PyMca5.PyMcaGui.PyMcaQt:<class 'AttributeError'> 'NoneType' object has no attribute '_posixPath'   File "/users/denolf/.local/wdnbashutils/virtualenvs/ewoks/lib/python3.9/site-packages/PyMca5/PyMcaGui/io/hdf5/HDF5Widget.py", line 641, in rowCount
    return len(self.getProxyFromIndex(index))
  File "/users/denolf/.local/wdnbashutils/virtualenvs/ewoks/lib/python3.9/site-packages/PyMca5/PyMcaGui/io/hdf5/HDF5Widget.py", line 433, in __len__
    return len(self.children)
  File "/users/denolf/.local/wdnbashutils/virtualenvs/ewoks/lib/python3.9/site-packages/PyMca5/PyMcaGui/io/hdf5/HDF5Widget.py", line 286, in children
    finalList[i][1]._posixPath = posixpath.join(self.name,

CRITICAL:PyMca5.PyMcaGui.io.hdf5.HDF5Widget:Entry /119.1 has no children
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant