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

While printing general ledger report I am getting the warning, Wkhtmltopdf failed (error code: -9). Message:

I am using odoo8 and os version is ubuntu 18.04.

The report is printed if there is less pages and if there is more pages it shows this warning.

I have tried 0.12.1, 0.12.3, 0.12.4 and 0.12.5 versions of wkhtmltopdf.

Anyone have any idea?

I am printing the report like this.



Shows the warning as follows.


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

It's a known issue. You shouldn't use the wkhtmltopdf package from Ubuntu. Odoo recommend the wkhtmltopdf 0.12.1 version from wkhtmltopdf.org website, see this document :
https://www.odoo.com/documentation/12.0/setup/install.html#linux

You can download a working binary package from https://builds.wkhtmltopdf.org/0.12.1.3/

For more info about current wkhtmltopdf and Odoo, see the discussion in this bug report
https://github.com/odoo/odoo/issues/21255#issuecomment-385242505

Otherwise, I wonder if it can come from PyPDF package... because of an update. See my blog post about this missing package and  a workaround :
http://zeroheure.info/how-to-install-odoo-on-latest-debian-ubuntu-without-python-pypdf-dependency/

Hope this help

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

Same issue any solutions

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 25
10092
1
thg 2 18
4313
3
thg 3 24
25920
5
thg 4 19
8862
1
thg 9 16
4741