[Zope] Photo browsing products for Zope
Ed Leafe
ed@leafe.com
Wed, 1 Jan 2003 16:57:34 -0500
On Wednesday, January 1, 2003, at 02:46 PM, Dieter Maurer wrote:
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in ?
>> File "PIL/ImageFile.py", line 140, in load
>> d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
>> File "PIL/Image.py", line 255, in _getdecoder
>> raise IOError("decoder %s not available" % decoder_name)
>> IOError: decoder jpeg not available
> The error message is very clear: PIL lacks the "jpeg" decoder.
>
> Modern PIL versions lack this decoder only when the jpeg library was
> missing when PIL was installed.
>
> Please read the PIL installation instructions about the prerequisite
> libraries, PIL needs for full support.
Sorry, I guess I wasn't clear enough. I followed those instruction
originally, and got errors. I posted them here, and was referred to the
page http://www.zope.org/Members/regebro/PIL_zope for additional
information. I followed those steps exactly, including the tests for
the jpeg library and the corresponding changes to the Makefile when
compiling PIL. After these additional steps, I got the errors I noted
above. My question was why, even *after* following the steps to ensure
that the jpeglib was correctly installed and verifying that the library
is indeed in /usr/local/lib, PIL is still not able to find/use it.
___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://foxcentral.net