ASE Test Errors - ag.py and db.py
Hello - I am trying to install ASE on Windows and I am getting errors on tests for ag.py and db.py with the following output:
[EDIT: I formatted the commands/stack traces. --askhl]
ag.py: RuntimeError: Command "ase -T gui --terminal x.json@id=1" exited with error code 1
db\db.py: RuntimeError: Command "ase -T build H | ase -T run emt -o testase.json && ase -T build H2O | ase -T run emt -o testase.json && ase -T build O2 | ase -T run emt -o testase.json && ase -T build H2 | ase -T run emt -f 0.02 -o testase.json && ase -T build O2 | ase -T run emt -f 0.02 -o testase.json && ase -T build -x fcc Cu | ase -T run emt -E 5,1 -o testase.json && ase -T db -v testase.json natoms=1,Cu=1 --delete --yes && ase -T db -v testase.json "H>0" -k hydro=1,abc=42,foo=bar && ase -T db -v testase.json "H>0" --delete-keys foo" exited with error code 255
Error in db\db.py on pid 8320:
Workdir: C:\Users\domin\AppData\Local\Temp\ase-test-ob0dlm8c\db_db_py
Traceback (most recent call last):
File "C:\Users\domin\AppData\Roaming\Python\Python36\site-packages\ase\test\testsuite.py", line 128, in run_single_test
runtest_almost_no_magic(filename)
File "C:\Users\domin\AppData\Roaming\Python\Python36\site-packages\ase\test\testsuite.py", line 74, in runtest_almost_no_magic
runpy.run_path(path, run_name='test')
File "c:\users\domin\anaconda3\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "c:\users\domin\anaconda3\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "c:\users\domin\anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\domin\AppData\Roaming\Python\Python36\site-packages\ase\test\db\db.py", line 54, in <module>
cli(cmd.replace('testase.json', name))
File "C:\Users\domin\AppData\Roaming\Python\Python36\site-packages\ase\test\testsuite.py", line 404, in cli
.format(actual_command, proc.returncode))
RuntimeError: Command "ase -T build H | ase -T run emt -o testase.json && ase -T build H2O | ase -T run emt -o testase.json && ase -T build O2 | ase -T run emt -o testase.json && ase -T build H2 | ase -T run emt -f 0.02 -o testase.json && ase -T build O2 | ase -T run emt -f 0.02 -o testase.json && ase -T build -x fcc Cu | ase -T run emt -E 5,1 -o testase.json && ase -T db -v testase.json natoms=1,Cu=1 --delete --yes && ase -T db -v testase.json "H>0" -k hydro=1,abc=42,foo=bar && ase -T db -v testase.json "H>0" --delete-keys foo" exited with error code 255
Error in ag.py on pid 22672:
Workdir: C:\Users\domin\AppData\Local\Temp\ase-test-ob0dlm8c\ag_py
Traceback (most recent call last):
File "C:\Users\domin\AppData\Roaming\Python\Python36\site-packages\ase\test\testsuite.py", line 128, in run_single_test
runtest_almost_no_magic(filename)
File "C:\Users\domin\AppData\Roaming\Python\Python36\site-packages\ase\test\testsuite.py", line 74, in runtest_almost_no_magic
runpy.run_path(path, run_name='test')
File "c:\users\domin\anaconda3\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "c:\users\domin\anaconda3\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "c:\users\domin\anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\domin\AppData\Roaming\Python\Python36\site-packages\ase\test\ag.py", line 11, in <module>
cli('ase -T gui --terminal x.json@id=1')
File "C:\Users\domin\AppData\Roaming\Python\Python36\site-packages\ase\test\testsuite.py", line 404, in cli
.format(actual_command, proc.returncode))
RuntimeError: Command "ase -T gui --terminal x.json@id=1" exited with error code 1
Edited by Ask Hjorth Larsen