The new version of PyTables will be in Lucid Lynx, scheduled for April 2010. A workaround for previous versions is listed here: https://bugs.launchpad.net/ubuntu/+source/pytables/+bug/348983
On Thu, Mar 25, 2010 at 3:51 PM, Andre Smit freev...@gmail.com 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 cimr...@ntc.zcu.czwrote:
fails 1/60 tests:
here's the debug output
grassy@work:~/sfepy./runTests.py --debug tests/ test_input_linear_elastic_mM.py <<< directory: tests, test files: 1 <<< tests/test_input_linear_elastic_mM.py sfepy: left over: ['__builtins__', '_filename', '__file__', '__package__', 'TestInput', 'input_name', '__name__', 'output_name', '__doc__'] --- test instance creation failed Traceback (most recent call last): File "./runTests.py", line 225, in <module> main() File "./runTests.py", line 216, in main run_tests(stats, dirname, [filename]) File "./runTests.py", line 148, in run_tests n_fail, n_total, test_time = run_test( conf_name, options ) File "./runTests.py", line 95, in run_test test = conf.funmod.Test.from_conf( conf, options ) File "tests/testsBasic.py", line 21, in from_conf test_conf = ProblemConf.from_file( input_name, required, other ) File "/home/grassy/sfepy/sfepy/base/conf.py", line 239, in from_file funmod = import_file( filename ) File "/home/grassy/sfepy/sfepy/base/base.py", line 86, in import_file mod = __import__(name) File "tests/../examples/homogenization/linear_elastic_mM.py", line 4, in <module> from sfepy.homogenization.micmac import get_homog_coefs_linear File "/home/grassy/sfepy/sfepy/homogenization/micmac.py", line 6, in
<module> import tables as pt File "/usr/lib/python2.6/dist-packages/tables/__init__.py", line 76, in <module> from tables.file import File, openFile, copyFile File "/usr/lib/python2.6/dist-packages/tables/file.py", line 44, in <module> 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 sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.comsfepy-devel%...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.