RE : RE : [Matplotlib-users] crash on matplotlib.matlab import on win32

It looks more like it is specific to my laptop, cause

    > installing exactly the same python, numarray and
    > matplotlib on another winXP laptop did not showed the
    > behavior. It will thus be a hard to reproduce bug, cause
    > I find only one computer exhibiting this behavior for now
    > (on the other hand, the behavior of this computer is very
    > reliable: systematic crash all the time, even after
    > python/nuamrray/matplotlib reinstall ). If I try to
    > install another version of python on this laptop (python
    > 2.3.3), it crashes the same...I could try older versions
    > (2.2.3 for example), but 2.3.X is required for numarray
    > 0.9 so I should go to older version there also, I prefer
    > to do it only if you find it usefull...

No, I wouldn't ask you to try python 2.2! I asked about 2.3.3 because
matplotlib has been used by many people on windows with that version
whereas 2.3.4 is comparatively new. Just a shot in the dark really.
When you uninstalled and reinstalled python, did you remove all traces
of the old python dir after running the uninstaller?

It's strikes me as very odd that the same python + numarray +
matplotlib + operating system would generate different reference
counting behavior. Can anyone think of a possible explanation for
this?

Another thing to test - try the numeric and numarray builds of
matplotlib. Remove C:\Python23\lib\site-packages\matplotlib *and*
C:\Python23\share\matplotlib and then install and test

  * numeric build -=
    http://prdownloads.sourceforge.net/matplotlib/matplotlib-0.54.2.win32-py2.3.exe?download
  
* remove the dirs above and then try the numarray build
   http://prdownloads.sourceforge.net/matplotlib/matplotlib-0.54.2-numarray0.9.win32-py2.3.exe?download

Same problem?

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

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

JDH

When you uninstalled and reinstalled python, did you remove all traces
of the old python dir after running the uninstaller?

Yes, I removed the directory Python23 and could not see any trace of
python anymore...Does it means there really is no more trace of python?
Well, it's windows, so...:wink:

It's strikes me as very odd that the same python + numarray + matplotlib
+ operating system would generate different reference counting behavior.
Can anyone think of a possible explanation for this?

Not me, could be c++ object destruction called in different order, but
how is it possible using the same executables on the same OS???

Another thing to test - try the numeric and numarray builds of
matplotlib.
Same problem?

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.

Thanks, we have already standardised on Numarray (seems it will be far
more active and supported than Numeric in the future), so using Numeric
can only be a temporary measure for me...

Best regards,

Greg.

JDH