[ase-users] TestSuiteError

Katsunori_Makino at n.w.rd.honda.co.jp Katsunori_Makino at n.w.rd.honda.co.jp
Thu Jan 15 11:52:21 CET 2009


Dear Sir:

I have found that "testase.py" is in python-ase-3.1.0.742.tar.gz,
not in the stable version.
.
Here is the log of the test suite, which shows ERROR.
(In my computer. (RHEL4.5, python 2.3.4, numpy 1.0.3)

Is matlabplot.py necessary?

 tmp]$ testase.py
Ag-Cu100.py (ScriptTestCase) ... ok
asap.py (ScriptTestCase) ... ok
atom.py (ScriptTestCase) ... ok
bader.py (ScriptTestCase) ... ok
build.py (ScriptTestCase) ... ok
coverage.py (ScriptTestCase) ... ok
dimer.py (ScriptTestCase) ... ok
distmom.py (ScriptTestCase) ... ok
emt.py (ScriptTestCase) ... ok
emt1.py (ScriptTestCase) ... ok
example.py (ScriptTestCase) ... ok
h2.py (ScriptTestCase) ... ok
io.py (ScriptTestCase) ... ERROR
langevin.py (ScriptTestCase) ... ok
magmom.py (ScriptTestCase) ... ok
md.py (ScriptTestCase) ... ok
n2.py (ScriptTestCase) ... ok
neb.py (ScriptTestCase) ... ok
neighbor.py (ScriptTestCase) ... ok
properties.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
Traceback (most recent call last):
  File "/usr/bin/ag", line 118, in ?
    run(opt, args)
  File "/usr/bin/ag", line 113, in run
    gui.run(opt.graph)
  File "/usr/lib/python2.3/site-packages/ase/gui/gui.py", line 248, in run
    self.plot_graphs(expr=expr)
  File "/usr/lib/python2.3/site-packages/ase/gui/gui.py", line 320, in
plot_graphs
    g.plot(expr=expr)
  File "/usr/lib/python2.3/site-packages/ase/gui/graphs.py", line 58, in
plot
    import matplotlib
ImportError: No module named matplotlib

An exception occurred!  Please report the issue to
ase-users at listserv.fysik.dtu.dk - thanks!  Please also report this if
it was a user error, so that a better error message can be provided
next time.
COCu111.py (ScriptTestCase) ... ok

======================================================================
ERROR: io.py (ScriptTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/ase/test/__init__.py", line 14, in
testfile
    execfile(self.filename, {'display': self.display})
  File "/usr/lib/python2.3/site-packages/ase/test/io.py", line 17, in ?
    write('io-test.1', atoms, format=format)
  File "/usr/lib/python2.3/site-packages/ase/io/__init__.py", line 206, in
write
    write(filename, images, **kwargs)
  File "/usr/lib/python2.3/site-packages/ase/io/png.py", line 37, in
write_png
    PNG(atoms, **parameters).write(filename)
  File "/usr/lib/python2.3/site-packages/ase/io/eps.py", line 135, in write
    self.write_header()
  File "/usr/lib/python2.3/site-packages/ase/io/png.py", line 6, in
write_header
    from matplotlib.backends.backend_agg import RendererAgg
ImportError: No module named matplotlib.backends.backend_agg

----------------------------------------------------------------------
Ran 30 tests in 28.345s

FAILED (errors=1)

Katsunori Makino
Honda R&D Co., Ltd.
katsunori_makino at n.f.rd.honda.co.jp
+81-48-462-5090




More information about the ase-users mailing list