From: Brent H. <hu...@wi...> - 2007-12-06 16:25:57
|
Any suggestions for what might be wrong? ~/tmp/pytables-2.0> python -c 'import tables; tables.test()' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= PyTables version: 2.0 HDF5 version: 1.6.4 NumPy version: 1.0b5 Zlib version: 1.2.3 LZO version: 1.08 (Jul 12 2002) BZIP2 version: 1.0.3 (15-Feb-2005) Python version: 2.4.3 (#2, Oct 6 2006, 07:49:22) [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] Platform: linux2-x86_64 Byte-ordering: little -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Performing only a light (yet comprehensive) subset of the test suite. If you want a more complete test, try passing the --heavy flag to this script (or set the 'heavy' parameter in case you are using tables.test() call). The whole suite will take more than 2 minutes to complete on a relatively modern CPU and around 80 MB of main memory. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Skipping Numeric test suite. Skipping numarray test suite. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Traceback (most recent call last): File "<string>", line 1, in ? File "tables/tests/test_all.py", line 158, in test unittest.TextTestRunner().run(suite()) File "tables/tests/test_all.py", line 92, in suite exec('from %s import suite as test_suite' % name) File "<string>", line 1, in ? File "tables/tests/test_tablesMD.py", line 47, in ? class RecordDT(IsDescription): File "tables/tests/test_tablesMD.py", line 48, in RecordDT var0 = Col.from_dtype(numpy.dtype("2S4"), dflt="") # shape in dtype File "tables/description.py", line 159, in from_dtype return class_.from_atom(newatom, pos=pos) File "tables/description.py", line 132, in from_atom return colclass(pos=pos, **kwargs) File "tables/description.py", line 207, in __init__ atombase.__init__(self, *args, **kwargs) File "tables/atom.py", line 606, in __init__ Atom.__init__(self, 'S%d' % itemsize, shape, dflt) File "tables/atom.py", line 526, in __init__ self.dflt = _normalize_default(dflt, dtype) File "tables/atom.py", line 164, in _normalize_default array = numpy.array(value) ValueError: Empty data-type |