Subject: python-ase: Exporting png image file fails Package: python-ase Version: 3.12.0-2 Tags: patch Severity: normal
Dear Maintainer, Attempting to save a png file results in a fatal exception due to an incompatibility between the ASE code and a call to the matplotlib routine actually responsible for saving the image file. This bug has been fixed upstream and in testing, but a patch needs to be applied to the version in stable. To correct the bug, line 39 in ase/io/png.py should be changed from < except TypeError: to > except (TypeError, ValueError): The image quality is very bad, but that's a separate issue I haven't looked into. It may be fixed upstream as well. Jonathan Sutton -- System Information: Debian Release: 9.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-ase depends on: ii python 2.7.13-2 ii python-numpy 1:1.12.1-3 ii python-scipy 0.18.1-2 Versions of packages python-ase recommends: ii python-gtk2 2.24.0-5.1 ii python-matplotlib 2.0.0+dfsg1-2 Versions of packages python-ase suggests: pn python-ase-doc <none> -- no debconf information