SfePy Failing Tests

The following tests fail when I run sfepy-run run_tests.
I'm running Anaconda 3.4.2 with python 3.5.3
/tests/test_input_navier_stokes2d_iga.py test_input: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_input_navier_stokes2d_iga'
tests/test_meshio.py test_hdf5_meshio: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_meshio'
tests/test_projections.py test_projection_iga_fem: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_projections'
tests/test_term_call_modes.py test_term_call_modes: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_term_call_modes'

Hi Joseph,
these problems should be fixed in the master branch on github. Could you try that? Also note, that the failures are due to missing optional dependencies, and are not important, if you are not going to use related features.
r.
On 2/1/19 5:50 AM, Joe Borrello wrote:
The following tests fail when I run sfepy-run run_tests.
I'm running Anaconda 3.4.2 with python 3.5.3
/tests/test_input_navier_stokes2d_iga.py test_input: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_input_navier_stokes2d_iga'
tests/test_meshio.py test_hdf5_meshio: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_meshio'
tests/test_projections.py test_projection_iga_fem: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_projections'
tests/test_term_call_modes.py test_term_call_modes: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_term_call_modes'
SfePy mailing list -- sfepy@python.org To unsubscribe send an email to sfepy-leave@python.org https://mail.python.org/mailman3/lists/sfepy.python.org/

It seemed liked those dependencies were optional, so it's good to know they are. Is it possible to pull/clone from the master branch in order to update the existing installed SfePy, or does it have to be re-installed using the codebase on the github repo?
Thanks, Joe
On Fri, Feb 1, 2019 at 12:16 AM Robert Cimrman cimrman3@ntc.zcu.cz wrote:
Hi Joseph,
these problems should be fixed in the master branch on github. Could you try that? Also note, that the failures are due to missing optional dependencies, and are not important, if you are not going to use related features.
r.
On 2/1/19 5:50 AM, Joe Borrello wrote:
The following tests fail when I run sfepy-run run_tests.
I'm running Anaconda 3.4.2 with python 3.5.3
/tests/test_input_navier_stokes2d_iga.py test_input: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_input_navier_stokes2d_iga'
tests/test_meshio.py test_hdf5_meshio: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_meshio'
tests/test_projections.py test_projection_iga_fem: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_projections'
tests/test_term_call_modes.py test_term_call_modes: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_term_call_modes'
SfePy mailing list -- sfepy@python.org To unsubscribe send an email to sfepy-leave@python.org https://mail.python.org/mailman3/lists/sfepy.python.org/
SfePy mailing list -- sfepy@python.org To unsubscribe send an email to sfepy-leave@python.org https://mail.python.org/mailman3/lists/sfepy.python.org/

It depends how you installed sfepy.
To test the master branch quickly, I suggest you to clone the repo, and try the in-place build [1].
r. [1] http://sfepy.org/doc-devel/installation.html#installing-sfepy-from-sources
On 2/1/19 6:31 AM, Joe Borrello wrote:
It seemed liked those dependencies were optional, so it's good to know they are. Is it possible to pull/clone from the master branch in order to update the existing installed SfePy, or does it have to be re-installed using the codebase on the github repo?
Thanks, Joe
On Fri, Feb 1, 2019 at 12:16 AM Robert Cimrman cimrman3@ntc.zcu.cz wrote:
Hi Joseph,
these problems should be fixed in the master branch on github. Could you try that? Also note, that the failures are due to missing optional dependencies, and are not important, if you are not going to use related features.
r.
On 2/1/19 5:50 AM, Joe Borrello wrote:
The following tests fail when I run sfepy-run run_tests.
I'm running Anaconda 3.4.2 with python 3.5.3
/tests/test_input_navier_stokes2d_iga.py test_input: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_input_navier_stokes2d_iga'
tests/test_meshio.py test_hdf5_meshio: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_meshio'
tests/test_projections.py test_projection_iga_fem: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_projections'
tests/test_term_call_modes.py test_term_call_modes: failed! --- test instance creation failed Traceback (most recent call last): File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 234, in <module> sys.exit(main()) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 223, in main run_tests(stats, dirname, [filename]) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 144, in run_tests stats[0] + 1) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/script/run_tests.py", line 89, in run_test conf = ProblemConf.from_file(conf_name, required, _required + other) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/conf.py", line 346, in from_file funmod = import_file(filename, package_name=False) File "/root/anaconda3/lib/python3.5/site-packages/sfepy/base/base.py", line 179, in import_file mod = __import__(name) ImportError: No module named 'test_term_call_modes'
participants (2)
-
Joe Borrello
-
Robert Cimrman