This question has been flagged
2 Replies
5582 Views

Report (PDF)

Wkhtmltopdf failed (error code: -11). Message: Error: Failed loading page http:///tmp/report.tmp.nO_V2W/report.footer.tmp.qbzzQI.html?page=1§ion=Quotation N° SO003&sitepage=1&title=&subsection=&frompage=1&subsubsection=&isodate=2015-04-22&topage=1&doctitle=&sitepages=1&webpage=/tmp/report.tmp.nO_V2W/report.body.tmp.vjWSaj.html&time=١١:٠٥ ص&date=٢٢‏/٤‏/٢٠١٥ (sometimes it will work just to ignore this error with --load-error-handling ignore)

QPaintDevice: Cannot destroy paint device that is being painted

Avatar
Discard

Is the python package wkhtmltopdf installed? If not installed install the package using the following command line (for ubuntu) sudo apt-get install wkhtmltopdf.

Best Answer

Install recommended version of wkhtmltopdf:

The recommended version is 0.12.1 and is available on the wkhtmltopdf download page, in the archive section.

reference: install Odoo

Avatar
Discard