Odoo Help

0

Webkit works with workers = 1 but doesn't work with workers > 1 - using version wkhtmltopdf 0.12.1 (with patched qt)

By
Ray Carnes
on 6/17/16, 12:05 PM 1,124 views

With the Odoo configuration file set to user workers > 1, PDF creation breaks.

  I get Error: Odoo Warning - Warning: Wkhtmltopdf failed (error code: -11).  


  • Webkit installed is wkhtmltopdf 0.12.1 (with patched qt) on Ubuntu 14.04.3 LTS

 

  • lrwxrwxrwx 1 root root 28 May 6 19:31 wkhtmltoimage -> /usr/local/bin/wkhtmltoimage

  • lrwxrwxrwx 1 root root 26 May 6 19:30 wkhtmltopdf -> /usr/local/bin/wkhtmltopdf


  • PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin for user who is running Odoo service


  • Nothing in /var/syslog


  • limit_memory_hard = 524288000 in configuration.


What else can I try?

1
Ray Carnes
On 6/17/16, 3:28 PM

Fixed with these changes to the configuration file:

limit_memory_soft = 1073741824

limit_memory_hard = 1610612736

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 6/17/16, 12:05 PM
Seen: 1124 times
Last updated: 6/25/16, 8:38 AM