[Yt-dev] install script error?
gso at physics.ucsd.edu
gso at physics.ucsd.edu
Fri Apr 22 16:29:45 PDT 2011
there was only an empty directory tex.cache, I removed it, submitted the
script, and got the same error while trying to write the png, I get the
same error when I tried to write png under iyt.
From
G.S.
> Geoffrey,
>
> The line you cite in the install script is set up to warn you whether
> or not any fontfile caches exist. If it finds them, it suggests that
> you delete them -- it's designed to prevent what it looks like has
> happened here. :)
>
> Maybe you could try removing the cache, and seeing that helps?
>
> rm ~/.matplotlib/*.cache
>
> -Matt
>
> On Fri, Apr 22, 2011 at 7:21 PM, <gso at physics.ucsd.edu> wrote:
>> I'm having trouble writing a plot png to disk, and it seems that my dev
>> installation script might be the culprit, it's giving me the error:
>>
>> File
>> "/nics/b/home/gsiisg/NautilusYT/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py",
>> line 180, in get_text_width_height_descent
>> font = self._get_agg_font(prop)
>> File
>> "/nics/b/home/gsiisg/NautilusYT/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py",
>> line 221, in _get_agg_font
>> font = FT2Font(str(fname))
>> RuntimeError: Could not open facefile
>> /nics/b/home/gsiisg/NautilusYT/lib/python2.6/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf;
>> Cannot_Open_Resource
>>
>>
>> In the installation script on line 578 there's:
>>
>> if [ -e $HOME/.matplotlib/fontList.cache ] && \
>> ( grep -q python2.6 $HOME/.matplotlib/fontList.cache )
>>
>> looking for the 2.6 stuff, even though it installed 2.7, could this be
>> the
>> cause of my problem? Will changing the 2.6 to 2.7 fix it?
>>
>> From
>> G.S.
>>
>>
>>
>> _______________________________________________
>> Yt-dev mailing list
>> Yt-dev at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
More information about the yt-dev
mailing list