Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
6902 Переглядів

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

Аватар
Відмінити

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

Найкраща відповідь

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

Аватар
Відмінити
Автор

Thanks

sudo apt install ttf-mscorefonts-installer

Найкраща відповідь

Hello Anusha,

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

commandline$ whereis wkhtmltopdf

wkhtmltopdf: /usr/local/bin/wkhtmltopdf


Аватар
Відмінити
Автор

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.

Автор

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.