Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
18628 Lượt xem

Unable to find Wkhtmltopdf on this system. The report will be shown in html. wkhtmltopdf.org

Here is the installation procedure... 

wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz

tar vxf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz 

cp wkhtmltox/bin/wk* /usr/local/bin/


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

The recommended version of Webkit for v12 is 0.12.5.

https://www.odoo.com/documentation/12.0/setup/install.html

Good instructions at https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d for how to install on various versions of Ubuntu.

I don't see you changing the EXECUTE bit on the commands.


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

This command might be helpful to you. This works in my case.

sudo apt-get install -y wkhtmltopdf

But possibly this will download the old version of lib.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 12 19
14895
2
thg 8 19
4400
2
thg 12 18
4704
1
thg 6 25
5410
2
thg 2 24
5783