Odoo Help

Welcome!

This community 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.

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 1,504 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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