Can you try the same operation using the Django development server and 
see what happens?

On 5/1/2009 7:19 AM, Jason Sypolt wrote:
> Also, I'm going through wsgi and not mod_python. Not sure if that
> makes a difference..
> 
> 
> On May 1, 10:12 am, George Song <geo...@damacy.net> wrote:
>> On 5/1/2009 6:56 AM, Jason Sypolt wrote:
>>
>>> I have pil 1.1.6 installed - it can find a jpeg decoder and all tests
>>> pass. I'm using django 1.0.2 and python 2.5 on centos 5.3. Whenever I
>>> try to upload a jpeg via the admin (ImageField), I get the following
>>> validation error.
>>> "Upload a valid image. The file you uploaded was either not an image
>>> or a corrupted image."
>>> Can anyone provide some help? This is driving me crazy. Thanks!
>> Are you able to successfully operate on *that* file using PIL directly
>> in Python interactive shell?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to