Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
11046 Visninger

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!

Avatar
Kassér
Bedste svar

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.

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
7
mar. 15
6622
0
mar. 15
3362
1
mar. 15
3449
2
mar. 15
8358
0
mar. 15
3345