Re: [Image-SIG] IOError: decoder zip not available

2011-01-08 Thread Adam M. Johnson
Alright, it looks like it is working now. Here is what I did to rebuild and re-install PIL from scratch: # rm -rf /usr/local/lib/python2.7/site-packages/PIL* # rm -rf /src/Imaging-1.1.7 # cd /src # tar -xvzf Imaging-1.1.7.tar.gz # cd Imaging-1.1.7 # python2.7 setup.py build_ext -i # python2.7 se

Re: [Image-SIG] IOError: decoder zip not available

2011-01-07 Thread Adam M. Johnson
Ah- I think we are getting somewhere... The ZipEncode and ZipDecode files were not in the build branch at all. I rmvd the build directory and rebuilt again according to your instructions. I got the all-is-well summary but still no ZipEncode/ZipDecode files created in the build directory. In f

Re: [Image-SIG] IOError: decoder zip not available

2011-01-07 Thread Fredrik Lundh
Oh, I just noticed that your mail included the "SETUP SUMMARY" but not the selftest summary. Did you install the missing libraries after an initial failed build? It could be that distutils didn't rebuild the necessary files for you... For a quick sanity check, in your build directory, do: $ ls

Re: [Image-SIG] IOError: decoder zip not available

2011-01-07 Thread Adam M. Johnson
Thank you for the troubleshooting technique! I am still getting oriented with Python. Sadly, this did not reveal anything telling. I ran this command as root and as the user who will be running it. I ran from the Imaging build directory, from the directory in which the script is located and fr

Re: [Image-SIG] IOError: decoder zip not available

2011-01-07 Thread Fredrik Lundh
The setup output looks fine, so my guess is that your script isn't picking up the same build as the one you get when you run the test script. Running the following command in your PIL build directory and your script directory will tell you what files Python are using: python -c "import _imaging;

[Image-SIG] IOError: decoder zip not available

2011-01-07 Thread Johnson, Adam
Hello! I am trying to run an image processing script on a new server under CentOS 5.4. I have compiled and installed PIL 1.1.7 to run with Python 2.7.1. The compile went fine. All libraries (except TKInter) were found. All 57 tests were passed by the test script. When I try to run my script, howe