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): File "<stdin>", line 1, in <module> File "_sage_input_25.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("cGxvdChmLCAwLCAzMCk="),globals())+"\\n"); execfile(os.path.abspath("___code___.py")) File "", line 1, in <module> File "/tmp/tmpR8WteD/___code___.py", line 3, in <module> exec compile(u'plot(f, _sage_const_0 , _sage_const_30 ) File "", line 1, in <module> File "/opt/sage-5.3/local/lib/python2.7/site-packages/sage/misc/displayhook.py", line 176, in displayhook print_obj(sys.stdout, obj) File "/opt/sage-5.3/local/lib/python2.7/site-packages/sage/misc/displayhook.py", line 144, in print_obj print >>out_stream, `obj` File "sage_object.pyx", line 154, in sage.structure.sage_object.SageObject.__repr__ (sage/structure/sage_object.c:1762) File "/opt/sage-5.3/local/lib/python2.7/site-packages/sage/plot/graphics.py", line 824, in _repr_ self.show() File "/opt/sage-5.3/local/lib/python2.7/site-packages/sage/misc/decorators.py", line 456, in wrapper return func(*args, **kwds) File "/opt/sage-5.3/local/lib/python2.7/site-packages/sage/plot/graphics.py", line 1735, in show self.save(**kwds) File "/opt/sage-5.3/local/lib/python2.7/site-packages/sage/misc/decorators.py", line 456, in wrapper return func(*args, **kwds) File "/opt/sage-5.3/local/lib/python2.7/site-packages/sage/plot/graphics.py", line 2584, in save figure = self.matplotlib(**options) File "/opt/sage-5.3/local/lib/python2.7/site-packages/sage/plot/graphics.py", line 2098, in matplotlib from matplotlib.figure import Figure File "/opt/sage-5.3/local/lib/python2.7/site-packages/matplotlib/figure.py", line 18, in <module> from axes import Axes, SubplotBase, subplot_class_factory File "/opt/sage-5.3/local/lib/python2.7/site-packages/matplotlib/axes.py", line 14, in <module> import matplotlib.axis as maxis File "/opt/sage-5.3/local/lib/python2.7/site-packages/matplotlib/axis.py", line 10, in <module> import matplotlib.font_manager as font_manager File "/opt/sage-5.3/local/lib/python2.7/site-packages/matplotlib/font_manager.py", line 1323, in <module> _rebuild() File "/opt/sage-5.3/local/lib/python2.7/site-packages/matplotlib/font_manager.py", line 1273, in _rebuild fontManager = FontManager() File "/opt/sage-5.3/local/lib/python2.7/site-packages/matplotlib/font_manager.py", line 997, in __init__ self.afmlist = createFontList(self.afmfiles, fontext='afm') File "/opt/sage-5.3/local/lib/python2.7/site-packages/matplotlib/font_manager.py", line 565, in createFontList prop = afmFontProperty(fpath, font) File "/opt/sage-5.3/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-5.3/local/lib/python2.7/site-packages/matplotlib/afm.py", line 468, in get_angle return self._header['ItalicAngle'] KeyError: 'ItalicAngle' ################ End ################ 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.