[ase-users] cannot import name minpack2

Bernd Hartke hartke at pctc.uni-kiel.de
Thu Apr 18 13:10:24 CEST 2013


Dear Marcin,
>
>> However, now I am stuck with the (new) error in the oi test:
>>
>>> ERROR: oi.py (ScriptTestCase)
>>> ----------------------------------------------------------------------
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.7/site-packages/ase/test/__init__.py", line
>>> 54, in testfile
>>>     execfile(self.filename, {'display': self.display})
>>>   File "/usr/lib/python2.7/site-packages/ase/test/fio/oi.py", line
>>> 42, in <module>
>>>     write(fname1, atoms, format=format)
>>>   File "/usr/lib/python2.7/site-packages/ase/io/__init__.py", line
>>> 460, in write
>>>     write(filename, images, **kwargs)
>>>   File "/usr/lib/python2.7/site-packages/ase/io/png.py", line 40, in
>>> write_png
>>>     PNG(atoms, **parameters).write(filename)
>>>   File "/usr/lib/python2.7/site-packages/ase/io/eps.py", line 139,
>>> in write
>>>     self.write_trailer()
>>>   File "/usr/lib/python2.7/site-packages/ase/io/png.py", line 26, in
>>> write_trailer
>>>     x = renderer._renderer.buffer_rgba(0, 0)
>>> IndexError: Unexpected SeqBase<T> length.
>>>
>>> ----------------------------------------------------------------------
>>
>> which I did not have after my first ASE installation attempt...
> this is due to the changes in matplotlib, already fixed in ASE trunk
> https://trac.fysik.dtu.dk/projects/ase/changeset/2984/trunk/ase/io/png.py
> You can install the ASE trunk, or continue using the repo version, but
> won't be able to save png files.

well, if this is the only thing I loose and if there is any other
graphics format available in which I can save things, then I do not care
about the ability to directly save png, with the abundance of graphics
format converters available.

Many thanks for your patient help!

Bernd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20130418/9459b14f/attachment.html>


More information about the ase-users mailing list