[Image-SIG] selftest failing

Marcello Lioy spinboy_1999 at yahoo.com
Sat Jan 3 00:58:45 CET 2009

I have downloaded the JPG library and built it.  I also downloaded and built 1.1.6 and build it sucessfully - the outfput from the build process is:

version       1.1.6
platform      linux2 2.4.1 (#2, Oct 18 2006, 22:35:03)
              [GCC 3.3.5 (Debian 1:3.3.5-13)]
*** TKINTER support not available
--- JPEG support ok
*** ZLIB (PNG/ZIP) support not available
*** FREETYPE2 support not available

The only one I care about is jpeg, and oddly when I run the self test I get the following error:

Failure in example: _info(Image.open("Images/lena.jpg"))
from line #24 of selftest.testimage
Exception raised:
Traceback (most recent call last):
  File "./doctest.py", line 499, in _run_examples_inner
    exec compile(source, "<string>", "single") in globs
  File "<string>", line 1, in ?
  File "./selftest.py", line 22, in _info
  File "PIL/ImageFile.py", line 180, in load
    d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
  File "PIL/Image.py", line 375, in _getdecoder
    raise IOError("decoder %s not available" % decoder_name)
IOError: decoder jpeg not available
1 items had failures:
   1 of  57 in selftest.testimage
***Test Failed*** 1 failures.
*** 1 tests of 57 failed.

I am not sure how to proceed from here as the build seems to indicate that JPEG support is there, while one of the tests is clearly failing...

I don't want to look away
I don't want to be the one denied
It ain't no fault of mine
Someone, somewhere told you lies
- Duncan Sheik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20090102/56153202/attachment.htm>

More information about the Image-SIG mailing list