On Fri, 21 Oct 2011, Paul Ivanov wrote: > Is there a particular reason you just upgraded to a version of matplotlib > that is almost 2 years old now? Matplotlib 1.1.0 was released a few weeks > ago,
Paul, Yes, the reason was 0.99.1.2 was on the SlackBuilds.org site, so I didn't check to see if it was the current version. > ... so it's strange that you did not upgrade to it, or at least to 1.0.1, > which came out in January. I just did: 1.1.0 is now installed, but I still have the same problem trying to run my model. > I'm not certain that the issue you're running into has been fixed, but > there have certainly been lots of changes. I also want to make sure that > there isn't some stale pointer to an old version of matplotlib out there - > so can you let us know what procedure you used to do the upgrade? I modified the matplotlib.SlackBuild script to remove the old patch and the non-existant file names INTERACTIVE and KNOWN_BUGS. It built and upgraded just fine. Ben's been helping by asking for information that might assist in isolating the source of the problem. Since I am now using version 1.1.0 I'll resend the error report. There are multiple lines reading: Found an unknown keyword in AFM header (was Underline) followed by the traceback: Traceback (most recent call last): File "./eikos.py", line 6, in <module> from modelPage import modModel File "/home/rshepard/development/trunk/modelPage.py", line 9, 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 14, 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 1323, in <module> _rebuild() File "/usr/lib/python2.6/site-packages/matplotlib/font_manager.py", line 1273, in _rebuild fontManager = FontManager() File "/usr/lib/python2.6/site-packages/matplotlib/font_manager.py", line 997, in __init__ self.afmlist = createFontList(self.afmfiles, fontext='afm') File "/usr/lib/python2.6/site-packages/matplotlib/font_manager.py", line 559, in createFontList font = afm.AFM(fh) File "/usr/lib/python2.6/site-packages/matplotlib/afm.py", line 304, in __init__ parse_afm(fh) File "/usr/lib/python2.6/site-packages/matplotlib/afm.py", line 292, in parse_afm dcmetrics_ascii, dcmetrics_name = _parse_char_metrics(fh) File "/usr/lib/python2.6/site-packages/matplotlib/afm.py", line 176, in _parse_char_metrics name = vals[2].split()[1] IndexError: list index out of range I will certainly add diagnostic code requested by you, Ben, and anyone else and report the results when trying to run the model. I do need to fix this and have no idea what's behind the problem. Thanks, Rich ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users