Thanks, John.
That worked, but Matplotlib is now spitting out the error below and I
can't even find the rc file in the location it lists:
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/matplotlib/__init__.py:642:
UserWarning: Bad val "error" on line #200
"verbose.level : error # one of silent, error, helpful,
debug, debug-annoying"
in file
"/System/Library/Frameworks/Python.framework/Versions/2.3/share/matplotlib/.matplotlibrc"
Illegal verbose string "error". Legal values are ('silent',
'helpful', 'debug', 'debug-annoying')
warnings.warn('Bad val "%s" on line #%d\n\t"%s"\n\tin file "%s"\n\t%s'
% (val, cnt, line, fname, msg))
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/matplotlib/__init__.py:630:
UserWarning: Bad key "verbose.erro" on line 202 in
/System/Library/Frameworks/Python.framework/Versions/2.3/share/matplotlib/.matplotlibrc
warnings.warn('Bad key "%s" on line %d in %s' % (key, cnt, fname))
Bus error
Travis
···
On Sun, 24 Apr 2005 20:15:11 -0500, "John Hunter" <jdh2358@...287...> said:
On 4/24/05, Travis Brady <tdbrady@...146...> wrote:
> Excellent, thanks for the prompt response, Jeff.
>
> I've just tried the ireland.py example and am at a complete loss as to
> what to do about the following error.
> ...snip ....
> File "/platlib/matplotlib/lines.py", line 543, in _draw_dashed
> TypeError: CXX: type error.
>
> Any thoughts?
You're going to need the latest matplotlib to run the latest basemap.
Robert Kern has a build in mac enthon -- check out
http://download.enthought.com/MacEnthon (this also includes a slightly
older basemap 0.1.2). You can either install the entire macenthon
package or selected subpacakges -- check out the readme on the site.
--
Travis Brady
tdbrady@...146...
Travis Brady wrote:
Thanks, John.
That worked, but Matplotlib is now spitting out the error below and I
can't even find the rc file in the location it lists:
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/matplotlib/__init__.py:642:
UserWarning: Bad val "error" on line #200
"verbose.level : error # one of silent, error, helpful,
debug, debug-annoying"
in file
"/System/Library/Frameworks/Python.framework/Versions/2.3/share/matplotlib/.matplotlibrc"
Illegal verbose string "error". Legal values are ('silent',
'helpful', 'debug', 'debug-annoying')
warnings.warn('Bad val "%s" on line #%d\n\t"%s"\n\tin file "%s"\n\t%s'
% (val, cnt, line, fname, msg))
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/matplotlib/__init__.py:630:
UserWarning: Bad key "verbose.erro" on line 202 in
/System/Library/Frameworks/Python.framework/Versions/2.3/share/matplotlib/.matplotlibrc
warnings.warn('Bad key "%s" on line %d in %s' % (key, cnt, fname))
Bus error
Travis: The matplotlib package in fink (http://fink.sf.net) is up to date, and includes basemap-0.3.2. First, you'll need to install the developer tools. After running the fink installer, enable the unstable tree by editing /sw/etc/fink.conf (add 'unstable/main' and 'unstable/crypto' to the 'Trees:' line). Then run "fink selfupdate", and when that is done "fink install matplotlib-py24". Go get several cups of coffee as fink downloads and builds a whole bunch of depedencies (including python 2.4.1). The fink installed python distribution will live entirely independently of your apple system python. I keep the matplotlib package up to date, so all that will be needed to get the latest version will be to run "fink update matplotlib-py24" occasionally. The disadvantage of the fink route is that you'll have to use X11 to run matplotlib with the gtk-agg backend, since fink python is a unix build and doesn't support using the native wx or tk toolkits. Right now I actually think of this an advantage, since as you've seen these toolkits are a bit buggy (the gtk-agg backend is better tested, since I believe it is the default under linux and windows).
-Jeff
P.S. If you decide to go this route, be sure to read section 2.3 of the fink user's guide (http://fink.sourceforge.net/doc/users-guide/install.php?phpLang=en#setup).
···
--
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449
325 Broadway Web : http://www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124