İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
11127 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
7
Mar 15
6698
0
Mar 15
3477
1
Mar 15
3483
2
Mar 15
8425
0
Mar 15
3393