[yt-users] PNG error on YT install

Nathan Goldbaum goldbaum at ucolick.org
Fri Jun 29 12:24:23 PDT 2012


I just reran the setup script and confirmed that the png.cfg file is being created by the current version of the install script in the development branch.  Perhaps it's not being created on some systems due to updating from an old version of yt that did not build the png.cfg file?

It looks like the png.cfg functionality was added by Matt in the geometry_handling branch, so I think that makes sense, seeing as these changes were merged in quite recently (I don't have the mercurial-fu to figure out exactly when that happened).

Cheers,

Nathan Goldbaum
Graduate Student
Astronomy & Astrophysics, UCSC
goldbaum at ucolick.org
http://www.ucolick.org/~goldbaum

On Jun 29, 2012, at 11:53 AM, Matthew Turk wrote:

> Nathan, any idea why these files didn't get created?
> 
> On Jun 29, 2012 2:52 PM, "Nathan Goldbaum" <goldbaum at ucolick.org> wrote:
> In fact the hdf5.cfg and png.cfg files are identical.
> 
> Nathan Goldbaum
> Graduate Student
> Astronomy & Astrophysics, UCSC
> goldbaum at ucolick.org
> http://www.ucolick.org/~goldbaum
> 
> On Jun 29, 2012, at 11:42 AM, Britton Smith wrote:
> 
>> Hi Carolyn,
>> 
>> I think Nathan had a similar issue just a couple days ago.  His solution was to create a png.cfg file in his yt source directory.  That file should just have a single line with the correct path to the libpng install, similar to what's in the hdf5.cfg file.  Someone strike me with lightning if I messed that up.
>> 
>> Britton
>> 
>> On Fri, Jun 29, 2012 at 11:47 AM, Carolyn Peruta <perutaca at msu.edu> wrote:
>> 
>> I looked back in the email archive and found this exact same problem from John ZuHone.  http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2011-June/001652.html
>> 
>> I wiped all png related stuff from the build and set INST_PNGLIB to 0 but I am still getting this error.  Any ideas?
>> 
>> Notes:  OSX 10.7.4   using Apple's gcc 4.2.1
>> 
>> 
>> ERROR:
>> Traceback (most recent call last):
>>   File "/Users/cperuta/yt-i386/bin/yt", line 9, in <module>
>>     load_entry_point('yt==2.3', 'console_scripts', 'yt')()
>>   File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg/pkg_resources.py", line 337, in load_entry_point
>>     return get_distribution(dist).load_entry_point(group, name)
>>   File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg/pkg_resources.py", line 2281, in load_entry_point
>>     return ep.load()
>>   File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg/pkg_resources.py", line 1991, in load
>>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>>   File "/Users/cperuta/yt-i386/src/yt-hg/yt/utilities/command_line.py", line 26, in <module>
>>     from yt.mods import *
>>   File "/Users/cperuta/yt-i386/src/yt-hg/yt/mods.py", line 107, in <module>
>>     from yt.visualization.api import \
>>   File "/Users/cperuta/yt-i386/src/yt-hg/yt/visualization/api.py", line 34, in <module>
>>     from plot_collection import \
>>   File "/Users/cperuta/yt-i386/src/yt-hg/yt/visualization/plot_collection.py", line 26, in <module>
>>     from matplotlib import figure
>>   File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/figure.py", line 18, in <module>
>>     from axes import Axes, SubplotBase, subplot_class_factory
>>   File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/axes.py", line 14, in <module>
>>     import matplotlib.axis as maxis
>>   File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/axis.py", line 14, in <module>
>>     import matplotlib.text as mtext
>>   File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/text.py", line 31, in <module>
>>     from matplotlib.backend_bases import RendererBase
>>   File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 48, in <module>
>>     import matplotlib.textpath as textpath
>>   File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/textpath.py", line 9, in <module>
>>     from matplotlib.mathtext import MathTextParser
>>   File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/mathtext.py", line 52, in <module>
>>     import matplotlib._png as _png
>> ImportError: dlopen(/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/_png.so, 2): Symbol not found: _png_set_longjmp_fn
>>   Referenced from: /Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/_png.so
>>   Expected in: dynamic lookup
>> 
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>> 
>> 
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>> 
>> 
>> !DSPAM:10175,4fedf72d179473167727586!
> 
> 
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> 
> !DSPAM:10175,4fedf9ba185131514817943! _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> 
> 
> !DSPAM:10175,4fedf9ba185131514817943!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120629/007ef5b3/attachment.html>


More information about the yt-users mailing list