The error "decoder zip not available" was reported when openerp printed the sales quotation. Google found a problem with Pil installation.
Original installation method:
$WgetHTTP://Effbot.org/media/downloads/pil-1.1.7.tar.gz$TarZxvf Pil-1.1.7.Tar. GZ $ CD PIL-1.1.7$ Python setup. pyInstall
The root cause is that the necessary dependent libraries (JPEG, zlib, and FreeType) are not detected during installation ):
$ Python setup. py build_ext-I -------------------------------------------------------------------- PIL 1.1 . 7 Setup Summary -------------------------------------------------------------------- Version 1.1 . 7 Platform linux2 2.6 . 6 (R266: 84292 , Feb 22 2013 , 00 : 00 : 18 ) [Gcc 4.4 . 7 20120313 (Red Hat 4.4 . 7 - 3 )] --------------------------------------------------------------------*** Tkinter support not available *** JPEG support not available * ** Zlib (PNG/ Zip) support not available *** FreeType2 support not available *** Littlecms support not available --------------------------------------------------------------------
Install the dependency Library (centos 6.4 64bit ):
$Yum InstallLibjpeg-Turbo-Devel $Yum InstallZlib-Devel $Yum InstallFreeType-Devel $Yum InstallLcms-devel
Reinstall Pil:
$ Python setup. py install
Refer:
1. Install Python Pil module in 64-bit centos
2. Install Pil (Python imaging Library)