Odoo Help

1

Wkhtmltopdf failed (error code: -6). Message: The switch --header-spacing, is not support using unpatched qt (error when sending mail)

By
Ruma Shakya
on 3/27/16, 7:38 AM 4,127 views

When i try to send quotaton by email, the following odoo warning pops up:
Report (PDF)Wkhtmltopdf failed (error code: -6). Message: The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored.QXcbConnection: Could not connect to display 
 Does anyone have the solution to this? 

Which version of WKHTML2PDF are you using?

Bista Solutions US, Ray Carnes
on 3/27/16, 11:37 AM

wkhtmltopdf 0.12.2.4-1

Ruma Shakya
on 3/28/16, 3:03 AM

So, nobody got an answer to this? Sad...

Ruma Shakya
on 3/29/16, 2:56 AM
0
Gunther Kohn
On 12/8/16, 8:53 AM

I have the same problem. Try this solution: https://gist.github.com/tejastank/45b6eba13fb38e24110218e3ce50129b

You need some time (and coffee) but after that everything works well.

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

1 follower(s)

Stats

Asked: 3/27/16, 7:38 AM
Seen: 4127 times
Last updated: 12/8/16, 8:53 AM