A Wednesday 03 November 2010 11:05:53 Peter Vittali escrigué:
> Hi
>
> I compiled pytables on ubuntu 10 and although the usage example in
> the py-tables documentation ( HowToUse ) works, the full tests
> launched with:
>
> $ python -c 'import tables; tables.test()'
>
> produces errors as shown in the attached file.
>
> Note that the test suite of hdf5 itself passes, as well as the one
> provided with h5py , another project using hdf5.
>
> During a trac discussion ( ticket 308 ) it has been suggested, that
> zlib is missing but I double-checked that it is there.
> I has also been said that zlib must be compiled *within* hdf5 but I
> am afraid I don't understand what that means.
>
> Any ideas ?
>From your logs, your error is:
#006: H5Z.c line 977 in H5Z_pipeline(): required filter is not
registered
major(19): Data filters layer
minor(24): Read failed
which strongly smells as if the deflate filter is not in your HDF5
library. In fact, I cannot reproduce your problem:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
PyTables version: 2.2.1rc1
HDF5 version: 1.6.10
NumPy version: 1.5.1rc1
Numexpr version: 1.4.1 (not using Intel's VML/MKL)
Zlib version: 1.2.3 (in Python interpreter)
LZO version: 2.03 (Apr 30 2008)
BZIP2 version: 1.0.5 (10-Dec-2007)
Blosc version: 1.1.1 (2010-10-01)
Cython version: 0.13
Python version: 2.6.1 (r261:67515, Feb 3 2009, 17:34:37)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]]
Platform: linux2-x86_64
Byte-ordering: little
Detected cores: 2
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[clip]
Ran 2972 tests in 38.995s
OK
Hmm, can you tell us which is the output of your ./configure for the
HDF5 library? Mine is:
Features:
---------
dmalloc: No
Function Stack Tracing: Disabled
GPFS: No
Strict File Format Checks: Disabled
HDF5 v1.4 Compatibility: No
I/O filters (external): deflate
I/O filters (internal): shuffle,fletcher32
Linux Large File Support (LFS): Enabled
MPE: No
Parallel HDF5: No
Threadsafety: Disabled
High Level library: Enabled
As you see, 'deflate' filter is listed as an external filter. Are you
seeing the same?
--
Francesc Alted
------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware,
phishing sites, and compromised hosts - saving your company time,
money, and embarrassment. Learn More!
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users