Dear list, I just updated my python from 2.5.4 to 2.6.2, having to upgrade Pytables as well, to 2.1.2. Under windows, when creating a file which when created with 2.5.4 I had been able to open using Igor pro 5, suddenly was inopenable using Igor.
I realized that Pytables (I downloaded the binary from the website) is now compiled with 1.8.3, while it was compiled with 1.6.something before. Apparently, the new version of pytables or hdf5 or both combined apparently use new features that are incompatible with older versions of Hdf5. For simplicity, I tested all that with a little script: ----------- snip ----------------------- from tables import * from numpy import * a=openFile("a.h5", "w") g=a.createGroup("/", "g", "bla") ar=a.createArray(g, "ar", arange(1000)) a.close() ----------- snip ----------------------- and indeed, with 2.5.4/2.something/1.6.something I'm left with a file of 8096 bytes, while 2.6.2/2.1.2/1.8.3 leaves me with 6904 bytes. When dumped with h5dump, the two files are identical. Under Linux, where I have a 2.6.2/2.1.1/1.6.6 installation, I get the good-old 8096 bytes, and Igor is able to open nicely. (Little note on the side: If the file is created with 2.6.2/2.1.1/1.8.2 under windows, Igor crashes when reading the file...) So, I guess we have to convince HDF5 to use an old file format, (maybe using H5Pset_libver_bounds?) Yours Martin Teichmann ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users