Odoo Help

1

Wekit error = 1

By
Dale
on 5/24/14, 3:08 PM 4,020 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.

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

3 follower(s)

Stats

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