On 16/12/2009, at 7:47 PM, Christopher Fonnesbeck wrote:
> I have built matplotlib from svn on OSX 10.6, using the make.osx script that 
> is included with the source, except with the 32-bit build flags removed. The 
> resulting module fails on import, however, with the following:
> 
> 

I was able to get a build that imports without error, but on several plots I 
get the very bizarre error:

  File 
"/Library/Python/2.6/site-packages/matplotlib-1.0.svn_r8035-py2.6-macosx-10.6-universal.egg/matplotlib/backends/backend_agg.py",
 line 221, in _get_agg_font
    font = FT2Font(str(fname))
RuntimeError: Could not open facefile 
/Library/Python/2.6/site-packages/matplotlib-1.0.svn_r7956-py2.6-macosx-10.6-universal.egg/matplotlib/mpl-data/fonts/ttf/Vera.ttf;
 Cannot_Open_Resource

Notice that the current matplotlib .egg package (r8035) looks for resources in 
a previous build (r7956)! I have eradicated all previous matplotlib builds and 
deleted the build folder from within the matplotlib source folder. I have no 
idea why this is happening.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to