[yt-users] YT on new Snow Leopard install
Nicholas Earl
earlnich at msu.edu
Tue Jun 15 18:20:05 PDT 2010
Hmm, I get a bus error followed by a notification that Python had quit unexpectedly.
Thanks,
Nick
On Jun 15, 2010, at 9:05 PM, Matthew Turk wrote:
> Hi Nicholas,
>
> Searching through my email history, it looks like a couple people were
> having this error back in September, but it didn't make it to the
> list. I don't quite know what the deal is. Can you try changing line
> 335 in /Users/earln/yt-i386/src/yt-trunk-svn/yt/raven/PlotTypes.py
> from:
>
> temparray = na.ones(self.size)
>
> to:
>
> temparray = na.random.random(self.size)
>
> and try again?
>
> -Matt
>
> On Tue, Jun 15, 2010 at 5:48 PM, Nicholas Earl <earlnich at msu.edu> wrote:
>> Hey everyone,
>> I'm having issues using yt on a fresh install of snow leopard. The 10.6 yt
>> installation went perfect, but when I go to run a simple slice script, I'm
>> getting this error:
>>
>> yt INFO 2010-06-15 20:16:15,452 Created plot collection with
>> default plot-center = [1.0, 0.5, 0.0]
>> Traceback (most recent call last):
>> File "slices2D.py", line 9, in <module>
>> p = pc.add_slice("Temperature",axis)
>> File "/Users/earln/yt-i386/src/yt-trunk-svn/yt/raven/plot_collection.py",
>> line 372, in add_slice
>> size=fig_size, periodic=periodic))
>> File "/Users/earln/yt-i386/src/yt-trunk-svn/yt/raven/PlotTypes.py", line
>> 314, in __init__
>> self.__init_temp_image(use_colorbar)
>> File "/Users/earln/yt-i386/src/yt-trunk-svn/yt/raven/PlotTypes.py", line
>> 347, in __init_temp_image
>> shrink=0.95)
>> File
>> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/figure.py",
>> line 1045, in colorbar
>> cb = cbar.Colorbar(cax, mappable, **kw)
>> File
>> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/colorbar.py",
>> line 647, in __init__
>> ColorbarBase.__init__(self, ax, **kw)
>> File
>> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/colorbar.py",
>> line 238, in __init__
>> self.draw_all()
>> File
>> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/colorbar.py",
>> line 249, in draw_all
>> self._config_axes(X, Y)
>> File
>> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/colorbar.py",
>> line 276, in _config_axes
>> ticks, ticklabels, offset_string = self._ticker()
>> File
>> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/colorbar.py",
>> line 415, in _ticker
>> b = np.array(locator())
>> File
>> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/ticker.py",
>> line 1069, in __call__
>> vmin = self.axis.get_minpos()
>> AttributeError: DummyAxis instance has no attribute 'get_minpos'
>>
>> It seemed to me an issue with matplotlib, but I've tried many things
>> including installing matplotlib from source separate from the yt
>> installation, and it still fails.
>> Any ideas?
>> Thanks for your time and effort!
>> Nicholas Earl
>> _______________________________________________
>> 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
>
More information about the yt-users
mailing list