Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
58142 Vizualizări

The installation guide states:

wkhtmltopdf is not installed through pip and must be installed manually in version \0.12.5 for it to support headers and footers. See our \wiki for more details on the various versions.

(from \https://www.odoo.com/documentation/14.0/setup/install.html#prepare )

Imagine profil
Abandonează

Ray, you may want to change the misleading title, I think you mean wkhtmltopdf, not Webkit :-)

... and, IIRC, wkhtmltopdf was never installable through pip, it had always to be installed manually.

Cel mai bun răspuns

The easiest way to do this is to download the .deb file from the wkhtmltopdf project github. For example, downloading wkhtmltopdf 0.12.5 for Ubuntu 20.04 on amd64:

$ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.focal_amd64.deb

Then you can install the .deb file with apt:

$ sudo apt install ./wkhtmltox_0.12.5-1.focal_amd64.deb

Hope that helps.

Imagine profil
Abandonează

This insallation process raise another error :

wkhtmltox : Depends: libssl1.1 but it is not installable
E: Unable to correct problems, you have held broken packages.

Do you have any solution for this??

Cel mai bun răspuns

@Tarikol Islam

1. Download libssl1.1_1.1.1f-1ubuntu2_amd64.deb from official repository

$  wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb

2. Install it

$  sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb

then install wkhtmltopdf.

Thanks!

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
mai 24
6398
2
feb. 24
3350
2
feb. 24
4956
2
oct. 23
5362
3
aug. 23
12399