跳至內容
選單
此問題已被標幟
2 回覆
6190 瀏覽次數

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

頭像
捨棄