Re: [matplotlib-devel] imread() in master branch doesn't work

2012-01-17 Thread Michael Droettboom
Ah. That explains why I couldn't reproduce it -- I didn't realize the issue had already been closed. Mike On 01/17/2012 12:53 PM, Eric Firing wrote: > Mike, > > Git bisect showed that the problem was your merge commit bca1fb0; you > were merging a changeset relative to a very old version, and I

Re: [matplotlib-devel] imread() in master branch doesn't work

2012-01-17 Thread Eric Firing
Mike, Git bisect showed that the problem was your merge commit bca1fb0; you were merging a changeset relative to a very old version, and I'm pretty sure that you accidentally kept the old version of a line. I switched it back to the new version: https://github.com/matplotlib/matplotlib/commit

Re: [matplotlib-devel] imread() in master branch doesn't work

2012-01-17 Thread Michael Droettboom
I can't confirm this on RHEL5 64-bit or Fedora 16 64-bit. Have you tried removing the build and installed directories and rebuilding from scratch? I'm shooting in the dark, but does the attached patch resolve your issue? diff --git a/src/_png.cpp b/src/_png.cpp index 9437c87..c17dec9 100644 ---

Re: [matplotlib-devel] imread() in master branch doesn't work

2012-01-14 Thread Eric Firing
On 01/14/2012 09:02 AM, Benjamin Root wrote: > Tried using plt.imread() today on a PNG file, and I am getting this > PyCXX error: > > Traceback (most recent call last): >File "", line 1, in >File "/home/ben/Programs/matplotlib/lib/matplotlib/pyplot.py", line > 1746, in imread > return

[matplotlib-devel] imread() in master branch doesn't work

2012-01-14 Thread Benjamin Root
Tried using plt.imread() today on a PNG file, and I am getting this PyCXX error: Traceback (most recent call last): File "", line 1, in File "/home/ben/Programs/matplotlib/lib/matplotlib/pyplot.py", line 1746, in imread return _imread(*args, **kwargs) File "/home/ben/Programs/matplotlib