CentOS6.2+OpenERP6.1 打印报价单出错:decoder zip not available
-
问题自己解决了,这是因为安装PIL-1.1.6导致的错误,错误如下:
**************************************************************
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 <module>
File "./selftest.py", line 22, in _info
im.load()
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.
后来直接去安装了个 PIL-1.1.7,完美解决!!!