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

Wekit error = 1

By
Dale
on 5/24/14, 3:08 PM 3,610 views

Hi

I have loaded the Webkit module as well as Webkit for Finance. I was then prompted to install wkhtmltopdf using the apt-get install command. I have done so but now get this error when trying to run a report out:

 

Webkit error

The command 'wkhtmltopdf' failed with error code = 1. Message: The following diagnosis message was provided:
The switch --header-font-name, is not support using unpatched qt, and will be ignored.The switch --footer-font-name, is not support using unpatched qt, and will be ignored.The switch --header-font-size, is not support using unpatched qt, and will be ignored.The switch --footer-font-size, is not support using unpatched qt, and will be ignored.The switch --header-left, is not support using unpatched qt, and will be ignored.The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --footer-left, is not support using unpatched qt, and will be ignored.The switch --footer-right, is not support using unpatched qt, and will be ignored.The switch --footer-line, is not support using unpatched qt, and will be ignored.wkhtmltopdf: cannot connect to X server 

 

Please help!

-1
Erdem Uney
On 7/11/14, 11:32 AM

Hello,

The problem is the version of the wkhtmltopdf. You can read the below blogpost for the solution.

http://natepinchot.com/2014/01/31/building-static-wkhtmltopdf/

Hope it solves.

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

3 follower(s)

Stats

Asked: 5/24/14, 3:08 PM
Seen: 3610 times
Last updated: 8/1/16, 10:45 AM