Fatal bug in _transforms.cpp - or install problem?


Last night I installed matplotlib from CVS on Mac OS X (python 2.4.1). I am using numpy from svn and have installed the dependencies (zlib, libpng, freetype, wxPython). I don't have Numeric or numarray installed on this machine.

Everything builds fine, but when I run ipython -pylab and do plot((1,2,3)) I the following:

/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/axes.py in __init__(self, fig, *args, **kwargs)
    4127 def __init__(self, fig, *args, **kwargs):
    4128 SubplotBase.__init__(self, fig, *args)
-> 4129 Axes.__init__(self, fig, [self.figLeft, self.figBottom,
    4130 self.figW, self.figH], **kwargs)

/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/axes.py in __init__(self, fig, rect, axisbg, frameon, sharex, sharey, label, **kwargs)
     367 self._hold = rcParams['axes.hold']
     368 self._connected = {} # a dict from events to (id, func)
--> 369 self.cla()
     371 # funcs used to format x and y - fall back on major formatters

/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/axes.py in cla(self)
     664 self.yaxis.cla()
--> 666 self.dataLim.ignore(1)
     667 if self._sharex is not None:
     668 self.xaxis.major = self._sharex.xaxis.major

IndexError: tuple index out of range

I think the code being called in the ignore() method is in _transforms.cpp:

Bbox::ignore(const Py::Tuple &args) {
   _ignore = Py::Int(args[1]);
   return Py::Object();

If the length of the tuple is 1, should it read:

   _ignore = Py::Int(args[0]);

Or does the Py::Tuple class index tuples beginning with 1?

The odd thing is that I have an earlier build of matplotlib (maybe a week ago) on my laptop and it runs fine. It also has this same code in _transforms.cpp. That makes me think it is an install problem.

Any thoughts?