Skip to Content
Menu
This question has been flagged
3 Replies
1952 Views

odoo12 enterprise shows 'Wkhtmltopdf failed (error code: -8). Message: b' while printing the pdf report.

Avatar
Discard
Best Answer

hello

You can try to install the ttf-mscorefonts-installer package and clear your font cache:

sudo apt install ttf-mscorefonts-installer
sudo fc-cache -f -v

for more detail : https://github.com/odoo/odoo/issues/27487#issuecomment-431847389

Avatar
Discard
Author

Thanks

Best Answer

Hi,

If we try to print the general ledger on one month no problem, it print ~500pages
But if we try to print the whole year, we have the following error : "The command 'wkhtmltopdf' failed with error code = -9. Message: No diagnosis message was provided".

Thanks


Avatar
Discard
Author

Thanks

Best Answer

wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~xenial_amd64.deb


sudo apt install ./wkhtmltox_0.12.1.3-1~xenial_amd64.deb

Avatar
Discard