[ase-users] Error in test after ASE installation.

Adolfo Fuentes A.Fuentes at liverpool.ac.uk
Tue Sep 2 18:31:44 CEST 2008


Hello Community. Today I downloaded ASE via svn and installed it in my
laptop. It is an ACER TravelMate 4020 Series (4021WLMi) [Intel Pentium M
Processor 725 @ 1.6 GHz, 400 MHz FSB, 2 MB L2 cache] with Ubuntu 7.04.
Everything went fine while running the setup.py file under Python2.5,

]$ sudo python setup.py install

but while running the ./tools/testase.py file in the ./ase/test
directory I got at least two bugs:

The first problem is basically that when it arrives at the emt1.py
script it seems it gets into an infinite loop, and I have to press CTRL
+C to pass on the next script. The second problem is that after running
the last script (COCu111.py) I get the correct values, but the system
does not return to the shell after plotting the graphics in RASMOL. Do
you know anything about this?? (My question seems quite naive. I append
the shell output.)

]$ ./testase.py 
Ag-Cu100.py (ScriptTestCase) ... ok
asap.py (ScriptTestCase) ... ok
atom.py (ScriptTestCase) ... ok
build.py (ScriptTestCase) ... ok
coverage.py (ScriptTestCase) ... ok
dimer.py (ScriptTestCase) ... ok
emt.py (ScriptTestCase) ... ok
emt1.py (ScriptTestCase) ... ERROR
example.py (ScriptTestCase) ... ok
h2.py (ScriptTestCase) ... ok
io.py (ScriptTestCase) ... ok
langevin.py (ScriptTestCase) ... ok
md.py (ScriptTestCase) ... ok
n2.py (ScriptTestCase) ... ok
neb.py (ScriptTestCase) ... ok
neighbor.py (ScriptTestCase) ... ok
pull.py (ScriptTestCase) ... ok
rotate.py (ScriptTestCase) ... ok
stm.py (ScriptTestCase) ... ok
strain.py (ScriptTestCase) ... ok
things.py (ScriptTestCase) ... ok
trajectory.py (ScriptTestCase) ... ok
vacancy.py (ScriptTestCase) ... ok
verlet.py (ScriptTestCase) ... ok
vib.py (ScriptTestCase) ... ok
COCu111.py (ScriptTestCase) ... 
FAIL

======================================================================
ERROR: emt1.py (ScriptTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/ase/test/__init__.py", line 16,
in testfile
    raise RuntimeError('Keyboard interrupt')
RuntimeError: Keyboard interrupt

======================================================================
FAIL: COCu111.py (ScriptTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/ase/test/__init__.py", line 14,
in testfile
    execfile(self.filename, {'display': self.display})
  File "/usr/lib/python2.5/site-packages/ase/test/COCu111.py", line 74,
in <module>
    assert error == 0
AssertionError

----------------------------------------------------------------------
Ran 26 tests in 2083.894s

FAILED (failures=1, errors=1)

Many thanks! Adolfo



More information about the ase-users mailing list