Fwd: 'Upload a valid image' errors with PIL 1.1.7/ Python 2.6/ Mac 10.6.2/ Django 1.2.3

Anjali Arora aarora99 at gmail.com
Thu Feb 3 17:30:19 CET 2011


I'm sorry, by admin site below, I mean Django Admin site.

Hi,

I am struggling with this for the past 2 days: first I got the above error,
& googled around to find that I needed the libjpeg module as well, so I
re-installed the lot, first libjpeg & then PIL; got a couple errors like
JPEG decoder not available etc, fixed that. Now it passes the selftest, but
when I try to upload images via the admin site, it throws up the error
"Upload a valid image. The file you uploaded was either not an image or a
corrupted image."

Any help is appreciated. Thanks.
-Ara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110203/2908884a/attachment.html>


More information about the Python-list mailing list