On a newly set up CentOS box, and newly installed TileCache, i got this:
File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 2030, in open
raise IOError("cannot identify image file")
I tried replacing PIL with Pillow but still got an error. I had successful installations on other CentOS boxes before, so PIL should work. After removing Pillow, I reinstalled PIL... then, that's it! It worked! Must have had an issue when I installed PIL the first time.
Solution:
Reinstall PIL:
install pip
# sudo yum install python-pip
uninstall PIL
# sudo pip uninstall PIL
reinstall PIL Imaging
# cd Imaging-1.1.6
# sudo python setup.py install
# sudo python setup.py install
Nep Nep! What a wonderful and informative post! I'll inform my sisters about this wonderful site :)
ReplyDeleteBut you only have one sister!
Delete