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

Error using HDF5 1.10.2 #18

Closed
yamadapc opened this issue Nov 17, 2018 · 3 comments
Closed

Error using HDF5 1.10.2 #18

yamadapc opened this issue Nov 17, 2018 · 3 comments

Comments

@yamadapc
Copy link

yamadapc commented Nov 17, 2018

On macOS:

HDF5-DIAG: Error detected in HDF5 (1.10.2) thread 0:
  #000: H5P.c line 253 in H5Pcreate(): not a property list class
    major: Invalid arguments to routine
    minor: Inappropriate type
thread 'main' panicked at 'Failed to open hdf5 file: "Invalid property list id: -1"', libcore/result.rs:1009:5
@aldanor
Copy link
Owner

aldanor commented Nov 17, 2018

@yamadapc I know. This is due to int32->int64 hid_t breaking change in 1.10.0.

This has already been fixed in the new branch on all platforms (I've just got back to hacking on this crate a week ago after a year break and am planning to finish this time; so stay tuned).

// It will take a month/months to make everything usable, but that's the grand plan. Right now you won't be able to do much with it.

@aldanor aldanor closed this as completed Nov 17, 2018
@yamadapc
Copy link
Author

Thanks! Sorry, I didn't realize this would only work with HDF5 1.8.

I don't understand how to read datasets though. Is this not working even with 1.8?

@aldanor
Copy link
Owner

aldanor commented Nov 17, 2018

In the old version (master), there were no proper type bindings which I've spent considerable amount of time on the new branch.

Right now you could probably do something through the raw HDF5 C API, but that's what I'm working on right now (reading / writing datasets), planning to link it to ndarray. So, again, stay tuned because things get reshuffled right now, sorry about that :)

You can already see how it will work with types though (hdf5-derive tests) through proc-macros.

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

2 participants