Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
11098 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
7
mar 15
6672
0
mar 15
3422
1
mar 15
3474
2
mar 15
8395
0
mar 15
3380