Sitelet https://github.com/BIDData/BIDMat/issues/6
Skip to content

saveAs gives misleading exceptions #6

Description

@sbenthall

using saveAs, I've gotten an HDF5LibraryException even when load works fine.

I made two changes and it fixed the problem:

  • adding a .mat to the file name
  • creating the directory that I was telling it to save into so that it gets a valid path

There's nothing blocking, but wanted to post an issue because there may be a more helpful way to do error reporting here. Since the HDF5LibraryException seems to be related to a wide variety of possible problems (including not having LD_LIBRARY_PATH set properly), it would be nice for usability to catch it and report a more specific error when possible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions