Your message dated Sun, 6 Oct 2013 20:56:44 +0200 with message-id <cab4xwxwy7uah-aqqzbxnon-qvtx_4zhhrqce4dvhgnko_3m...@mail.gmail.com> and subject line Re: python-matplotlib crashes (KeyError: 'ItalicAngle') has caused the Debian Bug report #691916, regarding python-matplotlib crashes (KeyError: 'ItalicAngle') to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 691916: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691916 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-matplotlib Version: 1.1.1~rc2-1 Severity: important Control: affects -1 rst2pdf Running rst2pdf on a text-only file leads to the following: Value error parsing header in AFM: ItalicAngle -9,9 Value error parsing header in AFM: ItalicAngle -9,9 Traceback (most recent call last): File "/usr/bin/rst2pdf", line 9, in <module> load_entry_point('rst2pdf==0.16', 'console_scripts', 'rst2pdf')() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point return ep.load() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/pymodules/python2.7/rst2pdf/createpdf.py", line 45, in <module> from opt_imports import psyco File "/usr/lib/pymodules/python2.7/rst2pdf/opt_imports.py", line 78, in <module> from matplotlib import mathtext File "/usr/lib/pymodules/python2.7/matplotlib/mathtext.py", line 44, in <module> from matplotlib.font_manager import findfont, FontProperties File "/usr/lib/pymodules/python2.7/matplotlib/font_manager.py", line 1325, in <module> _rebuild() File "/usr/lib/pymodules/python2.7/matplotlib/font_manager.py", line 1275, in _rebuild fontManager = FontManager() File "/usr/lib/pymodules/python2.7/matplotlib/font_manager.py", line 999, in __init__ self.afmlist = createFontList(self.afmfiles, fontext='afm') File "/usr/lib/pymodules/python2.7/matplotlib/font_manager.py", line 567, in createFontList prop = afmFontProperty(fpath, font) File "/usr/lib/pymodules/python2.7/matplotlib/font_manager.py", line 484, in afmFontProperty if font.get_angle() != 0 or name.lower().find('italic') >= 0: File "/usr/lib/pymodules/python2.7/matplotlib/afm.py", line 468, in get_angle return self._header['ItalicAngle'] KeyError: 'ItalicAngle' Perhaps this is caused by a font with strange metrics. Any idea how to identify it? Luckily, python-matplotlib is only suggested by rst2pdf and removing it works around the problem. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-matplotlib depends on: ii libatk1.0-0 2.4.0-2 ii libc6 2.13-36 ii libcairo2 1.12.2-2 ii libfontconfig1 2.9.0-7 ii libfreetype6 2.4.9-1 ii libgcc1 1:4.7.2-4 ii libgdk-pixbuf2.0-0 2.26.1-1 ii libglib2.0-0 2.33.12+really2.32.4-3 ii libgtk2.0-0 2.24.10-2 ii libpango1.0-0 1.30.0-1 ii libpng12-0 1.2.49-3 ii libstdc++6 4.7.2-4 ii python 2.7.3-3 ii python-cairo 1.8.8-1+b2 ii python-dateutil 1.5+dfsg-0.1 ii python-gobject 3.2.2-1 ii python-matplotlib-data 1.1.1~rc2-1 ii python-numpy [python-numpy-abi9] 1:1.6.2-1 ii python-pyparsing 1.5.6+dfsg1-2 ii python-support 1.0.15 ii python-tz 2012c-1 ii tcl8.5 8.5.11-2 ii tk8.5 8.5.11-2 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages python-matplotlib recommends: ii python-glade2 2.24.0-3 ii python-tk 2.7.3-1 Versions of packages python-matplotlib suggests: pn dvipng <none> pn ipython <none> ii librsvg2-common 2.36.1-1 ii python-configobj 4.7.2+ds-4 pn python-excelerator <none> ii python-gtk2 2.24.0-3 pn python-matplotlib-doc <none> ii python-qt4 4.9.3-4 ii python-scipy 0.10.1+dfsg1-4 pn python-traits <none> ii python-wxgtk2.8 2.8.12.1-12 ii texlive-extra-utils 2012.20120611-2 ii texlive-latex-extra 2012.20120611-2
--- End Message ---
--- Begin Message ---Hello, the proposed patch is creating more problems than if fixes, see https://github.com/matplotlib/matplotlib/pull/2497 for references. Since it's been called a bug in the AFM file, as also mentioned in the fontconfig comment, I'm going to close this report. Thanks, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

