test instance creation failed
I'm having issues with the initial installation. I'm running windows 8 and using anaconda.
After following the Windows 7 installation instructions all the tests fail and debugging gives the same error on each. The output from running it with --debug is below:
$ ./run_tests.py --debug <<< directory: tests, test files: 79 <<< tests\test_assembling.py --- test instance creation failed Traceback (most recent call last): File "./run_tests.py", line 225, in <module> main() File "./run_tests.py", line 219, in main op.walk( options.test_dir, run_tests, stats ) File "c:\Anaconda\lib\ntpath.py", line 231, in walk func(arg, top, names) File "./run_tests.py", line 148, in run_tests n_fail, n_total, test_time = run_test( conf_name, options ) File "./run_tests.py", line 94, in run_test conf = ProblemConf.from_file( conf_name, required, _required + other ) File "C:\sfepy\sfepy\base\conf.py", line 325, in from_file funmod = import_file(filename) File "C:\sfepy\sfepy\base\base.py", line 143, in import_file mod = __import__('.'.join((package_name, name)), fromlist=[name]) ImportError: No module named test_assembling
Any idea what the issue is?
On 07/02/2014 12:13 AM, Stuart Cook wrote:
I'm having issues with the initial installation. I'm running windows 8 and using anaconda.
After following the Windows 7 installation instructions all the tests fail and debugging gives the same error on each. The output from running it with --debug is below:
$ ./run_tests.py --debug <<< directory: tests, test files: 79 <<< tests\test_assembling.py --- test instance creation failed Traceback (most recent call last): File "./run_tests.py", line 225, in <module> main() File "./run_tests.py", line 219, in main op.walk( options.test_dir, run_tests, stats ) File "c:\Anaconda\lib\ntpath.py", line 231, in walk func(arg, top, names) File "./run_tests.py", line 148, in run_tests n_fail, n_total, test_time = run_test( conf_name, options ) File "./run_tests.py", line 94, in run_test conf = ProblemConf.from_file( conf_name, required, _required + other ) File "C:\sfepy\sfepy\base\conf.py", line 325, in from_file funmod = import_file(filename) File "C:\sfepy\sfepy\base\base.py", line 143, in import_file mod = __import__('.'.join((package_name, name)), fromlist=[name]) ImportError: No module named test_assembling
Any idea what the issue is?
What sfepy version do you use? We recently fixed an issue with import_file(), so it might be related. If you are trying the git version, could you try also the latest release (or vice versa)?
What happens, if you run:
$ ./simple.py
? It should print the help message.
r.
participants (2)
-
Robert Cimrman
-
Stuart Cook