Closed joneugster closed 5 years ago
Technical explanation: the problem seems to be that PyTables (which is used by Pandas to create the HDF files) stores some string attributes as fixed-length utf-8 strings. These can not be read by the H5Py library that Argos uses to read the HDF-5 files.
The best solution would be that the issue is fixed in H5Py. Unfortunately the bug is more that two years old so I don't see it being fixed soon. See https://github.com/h5py/h5py/issues/585
I've made a work-around so that Argos at least open the file, but some attributes cannot be read. See the screenshot below.
The work around is in the development branch. You can test try that if you like.
Wonderful, thanks!
To be honest, I assume that most users don't need those attributes anyways, it is usually more important to see the values of the data.
Now I only have an import error coming from not finding pgcolorbar, but I can download that from your other repo.
Hi,
Your tool looks amazing! Unfortunately it seems not to like my HDF5 files, created with
pandas
.Maybe you could implement that, too. Best regards!
Reproduction:
Execute this in Python to create the HDF5 file:
Then open it in argos (
argos NOT_IMPLEMENTED.h5
) and open the group "Test" in the treeview.Error Message
Bug: uncaught OSError Unable to read attribute (no appropriate function for conversion path)