Tried using plt.imread() today on a PNG file, and I am getting this PyCXX
error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ben/Programs/matplotlib/lib/matplotlib/pyplot.py", line 1746,
in imread
    return _imread(*args, **kwargs)
  File "/home/ben/Programs/matplotlib/lib/matplotlib/image.py", line 1218,
in imread
    return handler(fd)
TypeError: PyCXX: Error creating object of type N2Py6ObjectE from (nil)

Using master branch on Python 2.7 on 32-bit Ubuntu Oneric.  Seems to happen
to both color and b&w images.  scipy.ndimage.imread() still works fine,
though.

Ben Root
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to