[Yt-dev] install script error?

gso at physics.ucsd.edu gso at physics.ucsd.edu
Fri Apr 22 16:55:26 PDT 2011


I went to my MPLCONFIGDIR and deleted tex.cache/ directory but when I ran
the script it created it again.

Traceback pasted to http://paste.enzotools.org/show/TSPvBPWcY1jqtXiLNXRo

export MPI_SHARED_NEIGHBORHOOD=HOST
export PATH=.:/nics/b/home/gsiisg/NautilusYT/bin:$PATH
export
PYTHONPATH=/nics/b/home/gsiisg/NautilusYT/lib:/nics/b/home/gsiisg/NautilusYT/lib/python:$PYTHONPATH
export LD_LIBRARY_PATH=/nics/b/home/gsiisg/NautilusYT/lib:$LD_LIBRARY_PATH
export MPLCONFIGDIR=/gpfs/medusa/gsiisg

these are my environmental variables

From
G.S.

> Hi G.S.,
>
> Try finding any other *.cache files.  They would be named like this:
>
> fontList.cache
> tex.cache
>
> Specifically, the first one, fontList.cache.  Look in your submission
> directory, too -- my guess is that they might be there, if you are
> running on Nautilus or Kraken.  Sometimes on those systems one
> specifies MPLCONFIGDIR in your submission script.
>
> -MAtt
>
> On Fri, Apr 22, 2011 at 7:29 PM,  <gso at physics.ucsd.edu> wrote:
>> 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
>>>
>>
>>
>> _______________________________________________
>> 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