[ase-users] testase fails at trajectory.py

Misha Monder misha_monder at yahoo.com
Sat Sep 5 07:03:07 CEST 2009


Hello there,

Not sure if I've already reported this but trajectory.py fails in the testase suite. Attaching log file below. The first part of the log file is the error I got when I tried to display a .traj file generated by GPAW.

This is for ASE 3.2.0.1121 on Mac OSX 10.5.8 with the current version of Fink (Sept 4, 2009)

---------------------------------------
Traceback (most recent call last):
  File "/Users/mishamonder/ase/tools/ag", line 113, in <module>
    run(opt, args)
  File "/Users/mishamonder/ase/tools/ag", line 108, in run
    gui.run(opt.graph)
  File "/Users/mishamonder/ase/ase/gui/gui.py", line 249, in run
    self.plot_graphs(expr=expr)
  File "/Users/mishamonder/ase/ase/gui/gui.py", line 339, in plot_graphs
    g.plot(expr=expr)
  File "/Users/mishamonder/ase/ase/gui/graphs.py", line 65, in plot
    self.gui.graphs.append(pylab.figure(figsize=(x * 2.5**0.5, x)))
  File "/sw/lib/python2.5/site-packages/matplotlib/pyplot.py", line 254, in figure
    **kwargs)
  File "/sw/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py", line 85, in new_figure_manager
    manager = FigureManagerGTK(canvas, num)
  File "/sw/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py", line 443, in __init__
    self.window.set_icon_from_file(window_icon)
GError: Couldn't recognize the image file format for file '/sw/lib/python2.5/site-packages/matplotlib/mpl-data/images/matplotlib.svg'

An exception occurred!  Please report the issue to
ase-developers 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.
Ag-Cu100.py (ScriptTestCase) ... ok
COCu111_2.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) ... ok
jacapo.py (ScriptTestCase) ... ok
magmom.py (ScriptTestCase) ... ok
maxwellboltzmann.py (ScriptTestCase) ... ok
md.py (ScriptTestCase) ... ok
n2.py (ScriptTestCase) ... ok
neb.py (ScriptTestCase) ... ok
neighbor.py (ScriptTestCase) ... ok
netcdf.py (ScriptTestCase) ... ok
properties.py (ScriptTestCase) ... ok
pull.py (ScriptTestCase) ... ok
replay.py (ScriptTestCase) ... ok
rotate.py (ScriptTestCase) ... ok
rotate_euler.py (ScriptTestCase) ... ok
stm.py (ScriptTestCase) ... ok
strain.py (ScriptTestCase) ... ok
things.py (ScriptTestCase) ... ok
trajectory.py (ScriptTestCase) ... ERROR
unitcellfilter.py (ScriptTestCase) ... ok
vacancy.py (ScriptTestCase) ... ok
verlet.py (ScriptTestCase) ... ok
vib.py (ScriptTestCase) ... ok
vtk_data.py (ScriptTestCase) ... ok
vtk_pipeline.py (ScriptTestCase) ... ok
COCu111.py (ScriptTestCase) ... ok

======================================================================
ERROR: trajectory.py (ScriptTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/mishamonder/ase/ase/test/__init__.py", line 45, in testfile
    execfile(self.filename, {'display': self.display})
  File "/Users/mishamonder/ase/ase/test/trajectory.py", line 11, in <module>
    traj = PickleTrajectory('1.traj', 'a')
  File "/Users/mishamonder/ase/ase/io/trajectory.py", line 61, in __init__
    self.open(filename, mode)
  File "/Users/mishamonder/ase/ase/io/trajectory.py", line 79, in open
    self.read_header()
  File "/Users/mishamonder/ase/ase/io/trajectory.py", line 103, in read_header
    raise IOError('This is not a trajectory file!')
IOError: This is not a trajectory file!

----------------------------------------------------------------------
Ran 38 tests in 94.840s

FAILED (errors=1)
 ------------------------------------


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/



More information about the ase-users mailing list