I got it solved. I added the traceback code to django, temporarily,
and basically figured out I was missing several decoders. I rebuilt
and installed those and re-installed PIL and all is working now.

Thanks,
Buddy

On Thu, Apr 5, 2012 at 9:42 AM, Buddy Lindsey, Jr. <[email protected]> wrote:
> @Raphael, I am on my mac right now, and every image I try no matter
> the extension type or size doesn't work. I tried over 20 different
> images all of which I could easily upload to other sites. I'll check
> my pil version maybe that is the issue, even though I have the latest
> version.
>
> @hynekcer Thanks, if the pil thing doesn't solve it i'll give that a shot.
>
> Buddy
>
> On Thu, Apr 5, 2012 at 7:53 AM, hynekcer <[email protected]> wrote:
>> Try   manage.py satchmo_check
>> In the worst case you can add print traceback between following lines
>> temporary
>>
>> -- django/forms/fields.py, class ImageField, method to_python
>>
>>        except Exception: # Python Imaging Library doesn't recognize
>> it as an image
>> +           import traceback
>> +           traceback.print_exc()
>>            raise
>> ValidationError(self.error_messages['invalid_image'])
>>
>> --Hy
>>
>> On 5 dub, 09:42, Raphael <[email protected]> wrote:
>>> Hello Buddy,
>>>
>>> well you should provide further details on your system and provide
>>> picture information etc... (what image tye, what operationg system,
>>> versions, ...)
>>> Either your pictures are damaged (could be wrong file extension,...) or
>>> your systems PIL installation has to get fixed.
>>>
>>> Maybe you can run a PIL upgrade:
>>> pip install PIL --upgrade (command depending on your operating system)
>>>
>>> Hope you can fix your problem soon!
>>> Best wishes
>>>
>>> Raphaelhttp://develissimo.com
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Wed, 2012-04-04 at 23:25 -0500, Buddy Lindsey, Jr. wrote:
>>> > I am trying to add a an image to a product, but I keep getting an error:
>>>
>>> > "Upload a valid image. The file you uploaded was either not an image
>>> > or a corrupted image."
>>>
>>> > No matter what Image I try it with it wont upload and I can't find an
>>> > error anywhere in the logs. Is there a way to tell what the problem
>>> > is. I am kind of lost as to what to check.
>>>
>>> > Buddy
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Satchmo users" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/satchmo-users?hl=en.
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to