About the barcode can not be displayed

The odoo can print out the pdf normally, but the bar code of the report cannot be displayed.

rendererror missing T1 files。

Re-uninstall python's reportlab module, and then reinstall it, solve

The original version is reportlab3.1.8, and it is 3.4.0 after reinstallation

 

2018-3-9comment

There has been an error that the Android reportlab cannot display the barcode.

read journal

OError: encoder zip not available  ,

The article on the Internet said that libjpeg was not installed, libzip was not installed, etc. I tried it all, but it still didn't work, and then reinstalled python's pil

Or not.

Download the pil source code to install, python setup.py build_ext -i found that jpeg, etc. are service not avaliable.

It should be that the class library file is not found. After adding the corresponding path in the ld.so.conf.d directory, reinstall pil. Show service available.

But still no barcode is displayed.

Later, after reinstalling pip install pillow, the version becomes pillow5.0 and the barcode is displayed normally.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326070125&siteId=291194637