H5Literate and H5_INDEX_CRT_ORDER

When using H5_INDEX_CRT_ORDER with H5Literate I get the following error:

HDF5-DIAG: Error detected in HDF5 (1.8.4-patch1) thread 140302718633760:
  #000: ../../../src/H5L.c line 1184 in H5Literate(): link iteration failed
    major: Symbol table
    minor: Iteration failed
  #001: ../../../src/H5G.c line 1532 in H5G_iterate(): error iterating over links
    major: Symbol table
    minor: Iteration failed
  #002: ../../../src/H5Gobj.c line 578 in H5G_obj_iterate(): creation order not tracked for links in group
    major: Symbol table
    minor: Object not found

Moving to H5_INDEX_NAME makes the code work. Is the documentation
http://www.hdfgroup.org/HDF5/doc/RM/RM_H5L.html#Link-Iterate wrong or did I forget to enable order tracking?

Regards,

Tobias

···

--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

Tobias, yes, it appears that the creation order is not tracked.
As you know, a creation property must be set upon group creation via
H5Pset_link_creation_order
(http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetLinkCreationOrd
er)

Currently, setting this property is not supported in HDF5DotNet.

However, if the group was created outside HDF5DotNet and the order tracked,
H5L.iterate should work correctly with H5_INDEX_CRT_ORDER.

Best, G.

···

-----Original Message-----
From: hdf-forum-bounces@hdfgroup.org [mailto:hdf-forum-bounces@hdfgroup.org]
On Behalf Of Tobias.Richter@diamond.ac.uk
Sent: Monday, October 24, 2011 2:13 PM
To: hdf-forum@hdfgroup.org
Subject: [Hdf-forum] H5Literate and H5_INDEX_CRT_ORDER

When using H5_INDEX_CRT_ORDER with H5Literate I get the following error:

HDF5-DIAG: Error detected in HDF5 (1.8.4-patch1) thread 140302718633760:
  #000: ../../../src/H5L.c line 1184 in H5Literate(): link iteration failed
    major: Symbol table
    minor: Iteration failed
  #001: ../../../src/H5G.c line 1532 in H5G_iterate(): error iterating over
links
    major: Symbol table
    minor: Iteration failed
  #002: ../../../src/H5Gobj.c line 578 in H5G_obj_iterate(): creation order
not tracked for links in group
    major: Symbol table
    minor: Object not found

Moving to H5_INDEX_NAME makes the code work. Is the documentation
http://www.hdfgroup.org/HDF5/doc/RM/RM_H5L.html#Link-Iterate wrong or did I
forget to enable order tracking?

Regards,

Tobias

--
This e-mail and any attachments may contain confidential, copyright and or
privileged material, and are for the use of the intended addressee only. If
you are not the intended addressee or an authorised recipient of the
addressee please notify us of receipt by returning the e-mail and do not
use, copy, retain, distribute or disclose the information in or attached to
the e-mail.
Any opinions expressed within this e-mail are those of the individual and
not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any
attachments are free from viruses and we cannot accept liability for any
damage which you may sustain as a result of software viruses which may be
transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England
and Wales with its registered office at Diamond House, Harwell Science and
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org