Return of the mystery error.

Hi All,
  I ran into the following error:

Assertion failed: ob_refcnt == 0, file CXX\cxx_extensions.cxx, line 1031

I searched google and found the e-mail post from 2004-06-23 which I've included
at the bottom of this e-mail. I was wondering if anyone has figured out the problem? I'm guessing this is still likely to be a bug related to matplotlib, but I don't know for sure.

What I do know is that why I try to import matplotlib directly into python,
I don't get the error (see code below).

> >>> import matplotlib
> >>> matplotlib.use("TkAgg")
> >>> from matplotlib.pylab import *

But when we run our program which uses matplotlib, we get that error. I'll try to debug
our program and figure out where it seems to be crashing. If it's in matplotlib code, I'll dig in deeper to try to figure out where. I'll post again when I have more information.

I mainly wanted to give everyone a heads up and also see if anyone can give me some pointers.

-Brandon King

···

On Wed, 2004-06-23 at 12:42, Gregory Lielens wrote:
> Hello All,
> I just tried to install matplotlib on a WinXP computer, after a
> successfull install on Linux.
> The problem I encounter is the following (transcript of an
> interractive session): > > ---
> C:\Python23>python
> Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)]
> on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import matplotlib
> >>> matplotlib.use("TkAgg")
> >>> from matplotlib.matlab import *
> Assertion failed: ob_refcnt == 0, file CXX/cxx_extensions.cxx, line
> 1031
> > This application has requested the Runtime to terminate it in an
> unusual way.
> Please contact the application"s support team for more information.
> > C:\Python23>
> > ---
> > This work on Linux, and I can not find any hint in the doc to a
> backend/python interpreter incompatibility explaining this error.
> > I use numarray version 0.9 (win installer), python 2.3.4 (as shown in
> the session transcript), and matplotlib 0.54.2, last windows installer
> (the 2004/06/08 21:54:42 build which I think correct some problems
> with numarray)
> > Now I am wondering if I do something I shouldn"t, if my system or
> installation is responsible, or if it is a bug in this particular
> matplotlib distribution...Any idea?