After a long hiatus I'm again working on an application and just upgraded
matplotlib from 0.98.5.2 to 0.99.1.2. However, there's an error on start up
that I need your help in resolving.

   There are many dozens of lines containing:

Found an unknown keyword in AFM header (was Underline)

The traceback (in its entirety) shows:

Traceback (most recent call last):
   File "./eikos.py", line 6, in <module>
     from modelPage import modModel
   File "/home/rshepard/development/trunk/modelPage.py", line 8, in <module>
     from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as
FigureCanvas
   File
"/usr/lib/python2.6/site-packages/matplotlib/backends/backend_wxagg.py",
line 20, in <module>
     from matplotlib.figure import Figure
   File "/usr/lib/python2.6/site-packages/matplotlib/figure.py", line 18, in
<module>
     from axes import Axes, SubplotBase, subplot_class_factory
   File "/usr/lib/python2.6/site-packages/matplotlib/axes.py", line 12, in
<module>
     import matplotlib.axis as maxis
   File "/usr/lib/python2.6/site-packages/matplotlib/axis.py", line 10, in
<module>
     import matplotlib.font_manager as font_manager
   File "/usr/lib/python2.6/site-packages/matplotlib/font_manager.py", line
1301, in <module>
     _rebuild()
   File "/usr/lib/python2.6/site-packages/matplotlib/font_manager.py", line
1292, in _rebuild
     fontManager = FontManager()
   File "/usr/lib/python2.6/site-packages/matplotlib/font_manager.py", line 
1010, in __init__
     self.afmlist = createFontList(self.afmfiles, fontext='afm')
   File "/usr/lib/python2.6/site-packages/matplotlib/font_manager.py", line
578, in createFontList
     font = afm.AFM(fh)
   File "/usr/lib/python2.6/site-packages/matplotlib/afm.py", line 295, in
__init__
     parse_afm(fh)
   File "/usr/lib/python2.6/site-packages/matplotlib/afm.py", line 283, in
parse_afm
     dcmetrics_ascii, dcmetrics_name = _parse_char_metrics(fh)
   File "/usr/lib/python2.6/site-packages/matplotlib/afm.py", line 167, in
_parse_char_metrics
     name = vals[2].split()[1]
IndexError: list index out of range

   Please tell me what I need to do to resolve this error.

Rich

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to