HDFView - error when opening dimension scale datasets


#1

After creating an H5 file that contains dimension scales, HDFView will fail after I double-click on a dimension scale dataset. The following error message is displayed in a dialog: “ScalarDS loadData:H5DreadVL_str: failed to read variable length strings”

I am using version 3.0.0 of HDFView, which itself is using version 1.10.3 of HDF5. I’ve attached the H5 file I’m using to reproduce this error (see /_scales/methods/test_method_id/execution:1/row_result/dim_0_test)

database_3.h5 (16.8 KB)

Sidebar: For what it’s worth, it seems like dimension scale viewing was working correctly in an older version of HDFView. (The older version is also called 3.0.0, but it uses HDF5 1.10.1). This older version displayed data using the class hdf.view.DefaultTextView, which doesn’t exist in the latest version of HDFView.


#2

Hello!

I can reproduce this issue with your file. The issue has already been fixed in the development version of HDFView that will be available soon after HDF5-1.10.5 is released in the next couple of months. If you are interested in obtaining an early version of HDFView that contains the fix, please contact the HDF Helpdesk (help@hdfgroup.org) and we can help you with that.

-Barbara


#3

Hi Barbara,

I’ll contact this email address right away. Thanks!!