Re: [Matplotlib-users] Major Issue with 0.91.2 and Python-2.5

2008-03-11 Thread Michael Droettboom
I suspect there is an .afm font file on your new system that is untested 
with matplotlib and exhibiting something new.

I would first try to track down which font file it is, and then send it 
to me off list and I'll have a look at what might be tripping up matplotlib.

Cheers,
Mike

Rich Shepard wrote:
I upgraded my notebook to Slackware-12.0 (which includes python-2.5) and
 discovered that the application I'm developing no longer ran. Turns out that
 matplotlib went missing during the upgrade.

So, I just built matplotlib-0.91.2 using the same matplotlib.Slackbuild
 script I used on my workstation/server, but this time it failed. The font
 manager seems to be the issue; the error message repeatedly is: Found an
 unknown keyword in AFM header (was Underline). Specifically, the error is
 in File /usr/lib/Python2.5/site-packages/matplotlib/afm.py, line 166, in
 _parse_char_metrics
   name=vals[2].split()[1]
 IndexError: List index out of range

Is this unique to me? What do I do to fix the problem?

 TIA,

 Rich

   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Major Issue with 0.91.2 and Python-2.5

2008-03-10 Thread Rich Shepard
   I upgraded my notebook to Slackware-12.0 (which includes python-2.5) and
discovered that the application I'm developing no longer ran. Turns out that
matplotlib went missing during the upgrade.

   So, I just built matplotlib-0.91.2 using the same matplotlib.Slackbuild
script I used on my workstation/server, but this time it failed. The font
manager seems to be the issue; the error message repeatedly is: Found an
unknown keyword in AFM header (was Underline). Specifically, the error is
in File /usr/lib/Python2.5/site-packages/matplotlib/afm.py, line 166, in
_parse_char_metrics
name=vals[2].split()[1]
IndexError: List index out of range

   Is this unique to me? What do I do to fix the problem?

TIA,

Rich

-- 
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users