On Dec 2, 2009, at 12:17 PM, Francesc Alted wrote: > A Wednesday 02 December 2009 19:46:42 Robert Ferrell escrigué: >> I just built PyTables on OS X 10.6 (Snow Leopard). (Thanks to all >> for >> help from many quarters.) tables.test() ran fine. But >> tables.test(heavy=True) gave many errors, all similar to: >> >> = >> ===================================================================== >> ERROR: Testing ``c_int16``.test_h0080 >> ---------------------------------------------------------------------- >> Traceback (most recent call last): >> File "tables/tests/common.py", line 248, in newmethod >> return oldmethod(self, *args, **kwargs) >> File "tables/tests/test_queries.py", line 358, in test_method >> pyvars[colname] = row[acolname] >> File "tableExtension.pyx", line 1225, in >> tables.tableExtension.Row.__getitem__ >> File "tableExtension.pyx", line 132, in >> tables.tableExtension.getNestedFieldCache >> File "utilsExtension.pyx", line 390, in >> tables.utilsExtension.getNestedField >> KeyError: 'no such column: c_int16' >> >> Some of the errors were >> >> ValueError: field named c_int16 not found. >> >> Can I ignore this? > > Uh, no, you should not. That's weird because I regularly run the > complete > PyTables test suite in Linux and Windows platforms and you should > expect > something like (for heavy test mode): > > """ > Ran 7928 tests in 93.628s > > OK > """ > > [The above was using PyTables 2.1.2 and HDF5 1.8.4, the same as yours] > > Mmh, the only apparent difference is that I'm using an earlier > version of > NumPy: > > NumPy version: 1.4.0.dev7072 > > and you are using: > > NumPy version: 1.4.0.dev7542 > > Could you please install NumPy 1.3.0 (stable) and tell me if it goes > better? > > If you continue to have problems with some tests, maybe something in > your > machine is going on wrong. In that case, send me the complete > output for: > > $ PYTHONPATH=. python tables/tests/test_all.py --heavy > out 2>&1
Well, I just did that, and all tests ran fine. I feel like my Snow Leopard setup is a bit fragile, and this just adds to that feeling. The only thing that is different this time is that I ran "python setup.py install" a little while ago. But, I'm running the tests in the build directory, with PYTHONPATH=. Yikes. Happy the error vanished, nervous that I don't know why. -robert Here's the output I got this time. (I wonder why your tests ran so much faster than mine?) ---------------------------------------------------------------------- Ran 7923 tests in 156.862s OK -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-= PyTables version: 2.1.2 HDF5 version: 1.8.4 NumPy version: 1.4.0.dev7542 Zlib version: 1.2.3 BZIP2 version: 1.0.5 (10-Dec-2007) Python version: 2.6.1 (r261:67515, Jul 7 2009, 23:51:51) [GCC 4.2.1 (Apple Inc. build 5646)] Platform: darwin-i386 Byte-ordering: little -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-= Performing the complete test suite! -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-= Skipping Numeric test suite. Skipping numarray test suite. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-= ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users