RE : crash on matplotlib.matlab import on win32

Bingo, this makes a difference : using Numeric, it works

    > (no crash, can create a plot with TkAgg), but removing
    > the Numeric matplotlib (keeping Numeric installed), and
    > reinstalling Numarray one re-introduce the same
    > crash...Hope this help, looks like it is numarray related
    > anyway!

    > Yes, if you have this for windows I would be happy to
    > test!

    > OK, when I get one ready I'll post a link.

Hi Gregory,

I also built the 0.60b snapshot with numarray (Todd it's enough to set
the NUMERIX flags in setup.py and setupext.py - no extra link stuff,
right?)

It works fine on my platform (winxp, enthought python2.3.3, numarray
0.9). Hope it helps,

http://nitace.bsd.uchicago.edu:8080/files/share/matplotlib-0.60b.numarray.win32-py2.3.exe

JDH

Hi Gregory,

I also built the 0.60b snapshot with numarray (Todd it's enough to set
the NUMERIX flags in setup.py and setupext.py - no extra link stuff,
right?)

It works fine on my platform (winxp, enthought python2.3.3, numarray
0.9). Hope it helps,

http://nitace.bsd.uchicago.edu:8080/files/share/matplotlib-0.60b.numarra
y.win32-py2.3.exe

Sorry - still the same bug I am affraid...assertion ob_refcnt == 0
failed on line 1031 of cxx_extensions.cxx.
Maybe if your debug version is available it is worth running it on my
computer?
Also, a wild guess but maybe the behavior mentioned by Daniele in user
list is related? He seems to use about the same platform as me: numarray
0.9, python 2.3.4....although on win2000 where I did not observe any
problem (I did not run it for long either, only the time to plot
sin(x)...)
One thing one could also try would be to compile a version without the
assert in the destructor, not sure it will lead to problem but it could
give more information, worth considering if it is easier than providing
a "debug" version?

Best regards,

Greg.

That's all I've been doing. We're still only good for Python-2.3...

Regards,
Todd

···

On Thu, 2004-06-24 at 12:41, John Hunter wrote:

    > Bingo, this makes a difference : using Numeric, it works
    > (no crash, can create a plot with TkAgg), but removing
    > the Numeric matplotlib (keeping Numeric installed), and
    > reinstalling Numarray one re-introduce the same
    > crash...Hope this help, looks like it is numarray related
    > anyway!

    > Yes, if you have this for windows I would be happy to
    > test!

    > OK, when I get one ready I'll post a link.

Hi Gregory,

I also built the 0.60b snapshot with numarray (Todd it's enough to set
the NUMERIX flags in setup.py and setupext.py - no extra link stuff,
right?)

Hello,

I wondered if it is possible for me to compile a version of matplotlib
(using numarray) from source on windows...so that I can play with the
source and try to locate the origin of the strange crash I have. I have
visual C++ 6.0 compiler, not sure if this is ok as my first tests usind
setup.py build did not succeed (linking failed)...so is this relatively
easy to do...or really better leaved to true masochists? :wink:

Best regards,

Greg.