跳至內容
選單
此問題已被標幟
2 回覆
7223 瀏覽次數

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.


頭像
捨棄
最佳答案

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

頭像
捨棄
最佳答案

Same issue any solutions

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
5月 25
10098
1
2月 18
4315
3
3月 24
25926
5
4月 19
8867
1
9月 16
4743