I followed the instructions on that website.
I used kfind to find all files/folders containing PIL. I removed
PIL.pth files and PIL folders from several places. Then i tried
importing PIL in python prompt and got the error. - no pil in the
system.
Then i reinstalled PIL. tested it and got the validation error message
again. Then i deleted django, i deleted it under python2.6 site-
packages, and dist packages, i deleted the unpacked folder also.
decompressed the tar file, built and reinstalled it again. Still no
changes. So i guess only thing to try is either troubleshoot the
fields.py and find out why it gives the error and if it can or cannot
import the pil, or reinstall ubuntu and start from clean system.
Or do you have any other ideas?
Alan.
On Aug 19, 5:41 am, Malcolm MacKinnon <
mmack3...@gmail.com> wrote:
> For what it's worth, here's what helped me about a month ago. The PIL
> installation process is a mess, and I had to follow these instructions, step
> by step.
> I think I've fixed the problem. It had to so with PIL not being installed
> correctly. Check out this link:
http://www.answermysearches.com/fixing-pil-ioerror-decoder-jpeg-not-a...
> for
> a possible solution. Now, jpeg images are uploaded and saved.
>