Re: [matplotlib-devel] MPL segfault...

2007-04-06 Thread Fernando Perez
On 4/6/07, Eric Firing <[EMAIL PROTECTED]> wrote: > I have fixed this in two ways: by raising an exception in _image.cpp if > the input to frombyte lacks 3 dimensions--this prevents the > segfault--and by checking uint8 arrays for 3 dimensions in image.py > before sending them to frombyte in the f

Re: [matplotlib-devel] MPL segfault...

2007-04-06 Thread Eric Firing
Fernando Perez wrote: > Hi all, > > > I'm getting: > > planck[examples]> python pylab_segfault.py > Numpy version: 1.0.3.dev3651 > Segmentation fault (core dumped) > > > with this trivial code > > planck[examples]> cat pylab_segfault.py > import sys > import numpy as N > import pylab as P >

Re: [matplotlib-devel] MPL segfault...

2007-04-06 Thread Fernando Perez
On 4/6/07, Eric Firing <[EMAIL PROTECTED]> wrote: > OK, but I don't have any record of Nick Young's email address--if > someone knows it, please send it to me. I found this in my gmail archive: Nicholas Young <[EMAIL PROTECTED]> Cheers, f --

Re: [matplotlib-devel] MPL segfault...

2007-04-06 Thread Eric Firing
Fernando Perez wrote: > Hi Eric, > >> Unless I hear shortly that someone else is already fixing this, or that >> I am misdiagnosing the problem, I will proceed. It may be that checking >> for 3-D needs to be done earlier in the mpl python code as well, but it >> certainly seems like it should be

Re: [matplotlib-devel] MPL segfault...

2007-04-06 Thread Fernando Perez
Hi Eric, > Unless I hear shortly that someone else is already fixing this, or that > I am misdiagnosing the problem, I will proceed. It may be that checking > for 3-D needs to be done earlier in the mpl python code as well, but it > certainly seems like it should be done here. I was just on the

Re: [matplotlib-devel] MPL segfault...

2007-04-06 Thread Eric Firing
Fernando Perez wrote: > On 4/6/07, Darren Dale <[EMAIL PROTECTED]> wrote: >> On Friday 06 April 2007 04:37:46 pm Fernando Perez wrote: >>> import sys >>> import numpy as N >>> import pylab as P >>> >>> print "Numpy version:",N.__version__ >>> sys.stdout.flush() >>> >>> P.imshow(N.ones((4,4),dtype=N

Re: [matplotlib-devel] MPL segfault...

2007-04-06 Thread Eric Firing
Fernando Perez wrote: > On 4/6/07, Darren Dale <[EMAIL PROTECTED]> wrote: >> On Friday 06 April 2007 04:37:46 pm Fernando Perez wrote: >>> import sys >>> import numpy as N >>> import pylab as P >>> >>> print "Numpy version:",N.__version__ >>> sys.stdout.flush() >>> >>> P.imshow(N.ones((4,4),dtype=N

Re: [matplotlib-devel] MPL segfault...

2007-04-06 Thread Fernando Perez
On 4/6/07, Darren Dale <[EMAIL PROTECTED]> wrote: > On Friday 06 April 2007 04:37:46 pm Fernando Perez wrote: > > import sys > > import numpy as N > > import pylab as P > > > > print "Numpy version:",N.__version__ > > sys.stdout.flush() > > > > P.imshow(N.ones((4,4),dtype=N.uint8)) > > P.show() > >

Re: [matplotlib-devel] MPL segfault...

2007-04-06 Thread Darren Dale
On Friday 06 April 2007 04:37:46 pm Fernando Perez wrote: > import sys > import numpy as N > import pylab as P > > print "Numpy version:",N.__version__ > sys.stdout.flush() > > P.imshow(N.ones((4,4),dtype=N.uint8)) > P.show() Yep, I also see it, with svn 3163. It looks like the problem is only wit

Re: [matplotlib-devel] MPL segfault...

2007-04-06 Thread John Hunter
On 4/6/07, Fernando Perez <[EMAIL PROTECTED]> wrote: > planck[examples]> python pylab_segfault.py > Numpy version: 1.0.3.dev3651 > Segmentation fault (core dumped) > sudo rm -rf build > sudo python setup.py install let us know