Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
7194 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ค. 25
10081
1
ก.พ. 18
4296
3
มี.ค. 24
25907
5
เม.ย. 19
8837
1
ก.ย. 16
4727