encoder jpeg not available
Request Method: | GET |
---|---|
Request URL: | http://kamaradski.no-ip.org:85/_utils/profilethumb/kamaradski/thumbnail.jpg?width=48 |
Django Version: | 1.3 |
Exception Type: | IOError |
Exception Value: | encoder jpeg not available |
Exception Location: | /var/www/mybooktype/lib/python2.7/site-packages/PIL/Image.py in _getencoder, line 401 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.3 |
Python Path: | ['/var/www/mybooktype/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg', |
Server time: | Mon, 11 Nov 2013 08:11:19 +0100 |
Seems like the PIL that comes with Booktype doesn't have all of the dependencies it needs so it cannot handle the images.
I got it to work by just installing PIL with working dependencies and using that instead of Booktype's PIL, but you need sudo rights for this. You can Google for PIL installation instructions for your system.
Then you can remove ~/mybooktype/local/lib/python2.7/site-packages/PIL and create a symlink ~/mybooktype/local/lib/python2.7/site-packages/PIL to /usr/local/lib/python2.7/dist-packages/PIL/
It looks like you're new here. If you want to get involved, click one of these buttons!