2013-10-14 19:16:31 :: cherrypy.error.32088400 :: ERROR :: [14/Oct/2013:19:16:31] HTTP Traceback (most recent call last):
File "/root/HTPC-Manager/libs/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/root/HTPC-Manager/libs/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/root/HTPC-Manager/libs/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/root/HTPC-Manager/modules/xbmc.py", line 202, in GetThumb
return get_image(url, h, w, o, self.auth())
File "/root/HTPC-Manager/htpc/proxy.py", line 51, in get_image
resize_image(image, height, width, opacity, resized)
File "/root/HTPC-Manager/htpc/proxy.py", line 100, in resize_image
im.save(dest, 'JPEG', quality=95)
File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1439, in save
save_handler(self, fp, filename)
File "/usr/lib64/python2.7/site-packages/PIL/JpegImagePlugin.py", line 471, in _save
ImageFile._save(im, fp, [("jpeg", (0,0)+im.size, 0, rawmode)])
File "/usr/lib64/python2.7/site-packages/PIL/ImageFile.py", line 494, in _save
for e, b, o, a in tile:
ValueError: Not a valid numbers of quantization tables. Should be between 2 and 4.
Currently running fresh pull from git (10/14/2013) and configured with Python 2.7.5 on Fedora 19 64-bit (headless). Runs fine, cannot get it to communicate with couchpotato yet but all else seems to be working fine with the exception of this error being thrown any time an image tries to be loaded (specifically from XBMC). Any ideas? PIL is installed and output the following:
--------------------------------------------------------------------
PIL 1.1.7 SETUP SUMMARY
--------------------------------------------------------------------
version 1.1.7
platform linux2 2.7.5 (default, Aug 22 2013, 09:31:58)
[GCC 4.8.1 20130603 (Red Hat 4.8.1-1)]
--------------------------------------------------------------------
*** TKINTER support not available (Tcl/Tk 8.5 libraries needed)
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
*** LITTLECMS support not available
--------------------------------------------------------------------