Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
4 Vastaukset
6896 Näkymät

Hi,

  I have installed odoo 12 in ubuntu 18.04 .when i print PDF it shows an error like "Wkhtmltopdf failed (error code: -8). Message: b''. I have installed the wkhtmltopdf by following the commands mentioned in the link \https://www.odoo.com/forum/help-1/question/ubuntu-18-04-lts-how-to-install-wkhtmltopdf-0-12-1-134198

Avatar
Hylkää

Please use a more specific title, it improves the chances to get help.

Paras vastaus

This is a font issue, please check https://github.com/odoo/odoo/issues/27487

Avatar
Hylkää
Tekijä

Thanks

sudo apt install ttf-mscorefonts-installer

Paras vastaus

Hello Anusha,

Please check the installation location wkhtmltopdf  it should be  /usr/local/bin/wkhtmltopdf

commandline$ whereis wkhtmltopdf

wkhtmltopdf: /usr/local/bin/wkhtmltopdf


Avatar
Hylkää
Tekijä

it is showing in two different locations /usr/bin/wkhtmltopdf , /usr/local/bin/wkhtmltopdf.but in odoo it is taking from the second path

@subbarao The method shown in https://www.odoo.com/forum/help-1/question/ubuntu-18-04-lts-how-to-install-wkhtmltopdf-0-12-1-134198 is proven and works. The issue posted here is not related to the location.

Tekijä

Hi,

I added the report.url in to system parameters and its works fine,even though there is some issue with alignment and all.

It uses symbolic links to provide the proper locations.