A Friday 20 February 2009, Gabriel Beckers escrigué: > Hi, > > I can't create a table, which (I think) I could before updating my > hdf5 and pytables versions (both self compiled). > > The attached code is a minimal example that on my machine (Linux) > results in the error message below. > > Any ideas about what is wrong? > > All the best, Gabriel > > Error output: > ============= > > gabr...@gabriel-desktop:~$ python problem.py > 1.8.2 > 2.1 > HDF5-DIAG: Error detected in HDF5 (1.8.2) thread 0: > #000: H5Ddeprec.c line 170 in H5Dcreate1(): unable to create > dataset major: Dataset [clip]
This seems a limitation in HDF5 itself, I'm afraid. Using HDF5 1.6.5 gives a little better explanation about this: #005: ../../../src/H5O.c line 2204 in H5O_new_mesg(): object header message is too large (16k max) In fact, I was able to create a compound type with up to (16k - 3) components. However, you are trying with one with 122k components (!). I think that defining such a large data types is really counter-productive, mainly because of performance reasons, so you should avoid them. What are you trying to do? Perhaps using an EArray is your best bet for this case. Cheers, -- Francesc Alted ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users