跳至内容
菜单
此问题已终结
2 回复
6178 查看

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

形象
丢弃

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

最佳答案

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

形象
丢弃