Re: PIL & imagefield validation

2009-08-19 Thread zayatzz
OK. Apparently this is not PIL problem. I replaced validation errormessage with custom messages for debugging and i found out that imagefield validation fails here : try: # load() is the only method that can spot a truncated JPEG, # but it cannot be called sanely

Re: PIL & imagefield validation

2009-08-19 Thread zayatzz
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 va

Re: PIL & imagefield validation

2009-08-18 Thread Malcolm MacKinnon
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/fixi

Re: PIL & imagefield validation

2009-08-18 Thread Michael
On Tue, Aug 18, 2009 at 4:44 PM, zayatzz wrote: > > Buh... well instructions for installing & compiling ship with the > software. Can you tell me how to uninstall those modules? > Not a clue. You can start in site-packages or go into the shell and type import PIL PIL.__file__ to see where that f

Re: PIL & imagefield validation

2009-08-18 Thread zayatzz
Buh... well instructions for installing & compiling ship with the software. Can you tell me how to uninstall those modules? Alan. On Aug 18, 11:40 pm, Michael wrote: > On Tue, Aug 18, 2009 at 4:37 PM, zayatzz wrote: > > > Nobody knows? Any wild guesses? Cause im all out of ideas. > > > Alan. >

Re: PIL & imagefield validation

2009-08-18 Thread Michael
On Tue, Aug 18, 2009 at 4:37 PM, zayatzz wrote: > > Nobody knows? Any wild guesses? Cause im all out of ideas. > > Alan. > > On Aug 17, 9:24 pm, zayatzz wrote: > > Hello > > > > On sunday i had problems with python when i installed stackless > > python. Now i have compiled and installed : > > se

Re: PIL & imagefield validation

2009-08-18 Thread zayatzz
Nobody knows? Any wild guesses? Cause im all out of ideas. Alan. On Aug 17, 9:24 pm, zayatzz wrote: > Hello > > On sunday i had problems with python when i installed stackless > python. Now i have compiled and installed : > setuptools & python-mysqldb and i got my django project up and running

PIL & imagefield validation

2009-08-17 Thread zayatzz
Hello On sunday i had problems with python when i installed stackless python. Now i have compiled and installed : setuptools & python-mysqldb and i got my django project up and running again. (i also reinstalled django-1.1), Then i compiled and installed, jpeg, freetyp2 and PIL. I also started us