Good grief, this PIL stuff is such an ass-ache...
I am running Ubuntu Server 13.04 32-bit.
I have tried various different methods to try and get the PIL installed / working.
On Ubuntu there's actually an APT package, but that doesn't work properly, even if you install both python-imaging and python-imaging-compat.
You can also try using pip to install it, but pip seems very picky, and from things I have read elsewhere, it often doesn't recognize libs as being installed unless they're in very specific places. In any event, I have actually gotten as far as running a "pip install PIL" and getting "SUCCESS" on all the capabilities, but regardless of what I do, I just get stuff like this in my HTPC-Manager log:
2013-08-20 13:53:47 :: cherrypy.error.161445580 :: ERROR :: [20/Aug/2013:13:53:47] HTTP Traceback (most recent call last):
File "/usr/share/htpcmanager/libs/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/share/htpcmanager/libs/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/share/htpcmanager/libs/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/share/htpcmanager/modules/xbmc.py", line 202, in GetThumb
return get_image(url, h, w, o, self.auth())
File "/usr/share/htpcmanager/htpc/proxy.py", line 51, in get_image
resize_image(image, height, width, opacity, resized)
File "/usr/share/htpcmanager/htpc/proxy.py", line 88, in resize_image
im = im.resize(size, Image.ANTIALIAS)
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 1290, in resize
File "/usr/local/lib/python2.7/dist-packages/PIL/ImageFile.py", line 189, in load
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 385, in _getdecoder
IOError: decoder jpeg not available
In my adventures Googling and troubleshooting this today I DID find that supposedly the Pillow package is intended to be an easier-to-install replacement for PIL. Devs, any input on that?
Also, should I be just opening issues on GitHub when I find bugs? There are a couple broken things in settings at the moment and I figure I'll probably find some more stuff once additional things get checked in
I'm afraid I can't be of much use on the Transmission API. My "transmission minder" shell script specifically interacts with Transmission via the transmission-remote command-line utility, and I understand the scope of this project to be strictly over the network.