Hello! The same problem appeared today with Sage-5.4.1 Here is the error message:
########## Start ########## Value error parsing header in AFM: ItalicAngle -9,9 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_6.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode ("dG90YWxfcGxvdC5zaG93KCk="),globals())+"\\n"); execfile(os.path.abspath ("___code___.py")) File "", line 1, in <module> File "/tmp/tmpUgV4q7/___code___.py", line 2, in <module> exec compile (u'total_plot.show() File "", line 1, in <module> File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/sage/misc/decorators.py", line 456, in wrapper return func(*args, **kwds) File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/sage/plot/graphics.py", line 1736, in show self.save(**kwds) File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/sage/misc/decorators.py", line 456, in wrapper return func(*args, **kwds) File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/sage/plot/graphics.py", line 2584, in save figure = self.matplotlib(**options) File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/sage/plot/graphics.py", line 2099, in matplotlib from matplotlib.figure import Figure File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/matplotlib/figure.py", line 18, in <module> from axes import Axes, SubplotBase, subplot_class_factory File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/matplotlib/axes.py", line 14, in <module> import matplotlib.axis as maxis File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/matplotlib/axis.py", line 10, in <module> import matplotlib.font_manager as font_manager File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/matplotlib/font_manager.py", line 1323, in <module> _rebuild() File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/matplotlib/font_manager.py", line 1273, in _rebuild fontManager = FontManager() File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/matplotlib/font_manager.py", line 997, in __init__ self.afmlist = createFontList(self.afmfiles, fontext='afm') File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/matplotlib/font_manager.py", line 565, in createFontList prop = afmFontProperty(fpath, font) File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/matplotlib/font_manager.py", line 482, in afmFontProperty if font.get_angle() != 0 or name.lower ().find('italic') >= 0: File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/matplotlib/afm.py", line 468, in get_angle return self._header['ItalicAngle'] KeyError: 'ItalicAngle' ########## End ########## On Sun, 18 Nov 2012 22:07:34 +0200 v_2e <v...@ukr.net> wrote: > Hello! > I'm trying to plot a function using Sage-5.3 on Debian Wheezy > (testing) and I get the following error message: > > > Value error parsing header in AFM: ItalicAngle -10,5 > Traceback (most recent call last): > . . . > "/opt/sage-5.3/local/lib/python2.7/site-packages/matplotlib/afm.py", > line 468, in get_angle return self._header['ItalicAngle'] KeyError: > 'ItalicAngle' > > It seems strange, because I also use Sage-5.3 on a couple of other > systems (Gentoo and Ubuntu), but have never experiences such problem, > and Sage is compiled in a separate directory as you can see > (/opt/sage-5.3), which makes in system-independent, doesn't it? > Regards, Vladimir ----- v_2e <v...@ukr.net> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en.