تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
7204 أدوات العرض

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
مايو 25
10087
1
فبراير 18
4302
3
مارس 24
25910
5
أبريل 19
8844
1
سبتمبر 16
4733