The new version of PyTables will be in Lucid Lynx, scheduled for April 2010. A workaround for previous versions is listed here:

On Thu, Mar 25, 2010 at 3:51 PM, Andre Smit <> wrote:
Thanks - I suspect the ones I have are outdated. I installed from ubuntu repos.

On Thu, Mar 18, 2010 at 3:53 AM, Robert Cimrman <> wrote:

freevryheid wrote:
fails 1/60 tests:

here's the debug output

grassy@work:~/sfepy./ --debug tests/
<<< directory: tests, test files: 1
<<< tests/
sfepy: left over: ['__builtins__', '_filename', '__file__',
'__package__', 'TestInput', 'input_name', '__name__', 'output_name',
--- test instance creation failed
Traceback (most recent call last):
 File "./", line 225, in <module>
 File "./", line 216, in main
   run_tests(stats, dirname, [filename])
 File "./", line 148, in run_tests
   n_fail, n_total, test_time = run_test( conf_name, options )
 File "./", line 95, in run_test
   test = conf.funmod.Test.from_conf( conf, options )
 File "tests/", line 21, in from_conf
   test_conf = ProblemConf.from_file( input_name, required, other )
 File "/home/grassy/sfepy/sfepy/base/", line 239, in from_file
   funmod = import_file( filename )
 File "/home/grassy/sfepy/sfepy/base/", line 86, in
   mod = __import__(name)
 File "tests/../examples/homogenization/", line
4, in <module>
   from sfepy.homogenization.micmac import get_homog_coefs_linear
 File "/home/grassy/sfepy/sfepy/homogenization/", line 6, in
   import tables as pt
 File "/usr/lib/python2.6/dist-packages/tables/", line 76,
in <module>
   from tables.file import File, openFile, copyFile
 File "/usr/lib/python2.6/dist-packages/tables/", line 44, in
   from tables import hdf5Extension
ImportError: cannot import name hdf5Extension

perhaps cython related?

It seems like a pytables/HDF5 version issue. This test works with pytables-2.1.2 and hdf5-1.8.4 - what are your versions?


You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at