When I try to generate a PDF from a quotation or something else the following error messge appears:
Report (PDF)
Wkhtmltopdf failed (error code: -11). Message
/var/log/syslog:
Feb 9 10:50:01 SRV02 kernel: [2175649.190455] wkhtmltopdf[35674]: segfault at bbadbeef ip 00000000004f3449 sp 00007fff9c574870 error 6 in wkhtmltopdf[400000+2274000]
I having an Ubuntu 14.4 Server, Wkhtmltopdf was installed as follows:
sudo wget http://downloads.sourceforge.net/project/wkhtmltopdf/archive/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.debsudo cp /usr/local/bin/wkhtmltopdf /usr/bin
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin
Am I the only one having this issue?
@Lucas removed my answer as I looked wrong. My apologies! Do you get this error on every report? Did you modify the report code or is it still the same as from the source?
yep it is on every report.
You test your wkhtmltopdf from linux command line
@Lucas, 1.st - you should test if wkhtmltopdf wkhtmltopdf works. From bash you should issuue *wkhtmltopdf --help* 2.nd - If wkhrmltopdf works you should look at your report, because may be it has wrong data inside. Try to repeat commnda n odoo log with bash and see in /tmp what is created Hope this help Antonio
Do you have selinux installed?