2013-06-12, 11:05
(2013-06-12, 10:44)styxit Wrote: I have seen your second error message before. There is probably no image decoder available on your system. Try installing libjpeg-dev and libpng-dev on your system, and re-install PIL.
Code:sudo apt-get install libpng-dev
sudo apt-get install libjpeg-dev
Then re-install PIL
Follow this guide: http://stackoverflow.com/questions/89152...ilable-pil
Hope this helps you!
Hi, thanks for the info, i tried it just now, and this error comes up on the images:
Code:
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/home/.htpc-manager/modules/xbmc.py", line 181, in GetThumb
return get_image(url, h, w, o, self.auth())
File "/home/.htpc-manager/htpc/proxy.py", line 30, in get_image
download_image(url, image, auth)
File "/home/.htpc-manager/htpc/proxy.py", line 52, in download_image
im = Image.open(data)
File "/usr/local/lib/python2.6/dist-packages/PIL/Image.py", line 2020, in open
raise IOError("cannot identify image file")
IOError: cannot identify image file