
On 08/10/2015 09:14 PM, Fred Hohman wrote:
Thanks for the info—your solution has helped! I now only have one test that has failed, namely: --- test_eigenvalue_solvers: failed! and the summary says: 91 test file(s) executed in 203.30 s, 1 failure(s) of 143 test(s)
When running the debug flag I believe this is the error output:
<type 'exceptions.ValueError'>
Traceback (most recent call last): File "run_tests.py", line 206, in <module> main() File "run_tests.py", line 200, in main op.walk(options.test_dir, run_tests, stats) File "/Users/fredhohman/anaconda/lib/python2.7/posixpath.py", line 231, in walk func(arg, top, names) File "run_tests.py", line 131, in run_tests n_fail, n_total, test_time = run_test(conf_name, options) File "run_tests.py", line 99, in run_test ok, n_fail, n_total = test.run(options.debug) File "/Users/fredhohman/anaconda/sfepy/sfepy/base/testing.py", line 58, in run ret = test_method() File "/Users/fredhohman/anaconda/sfepy/tests/test_eigenvalue_solvers.py", line 115, in test_eigenvalue_solvers eig_solver = Solver.any_from_conf(eig_conf) File "/Users/fredhohman/anaconda/sfepy/sfepy/solvers/__init__.py", line 24, in any_from_conf return solver_table[conf.kind](conf, **kwargs) File "/Users/fredhohman/anaconda/sfepy/sfepy/solvers/eigen.py", line 257, in __init__ 'cannot import pysparse eigensolvers!') File "/Users/fredhohman/anaconda/sfepy/sfepy/base/base.py", line 187, in try_imports raise ValueError('\n'.join(msgs)) ValueError: No module named pysparse No module named pysparse.eigen cannot import pysparse eigensolvers!
This is ok - the error can be resolved by installing pysparse. I will add a version check into setup.py, so that a warning is displayed like it is done for the other optional packages.
So, problem solved :)
r.