Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3551 มุมมอง

When I print the report from Odoo it throws this error Wkhtmltopdf failed (error code: -11).
How to fix this error?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You can try to install the ttf-mscorefonts-installer package and clear your font cache ,

sudo apt install ttf-mscorefonts-installer 

sudo fc-cache -f -v

If this works its good and if not, try installing  Wkhtmltopdf package again, and make sure the version is patched with qt

1. First check for the version of wkhtmltopdf 

sudo wkhtmltopdf --version
2. And then install the new version if your having an old one. According to your system config download the package

 https://wkhtmltopdf.org/downloads.html

3. Install it and run the server after clearing your browser cache.

 Hope it helps,

Thanks



อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

This can be an error due to memory limit too low or maximum file number of subprocesses reached, to solve this you may increase the value of limit_memory_hard in the odoo config file.

For more details, please refer to the following link

https://www.odoo.com/it_IT/forum/help-1/wkhtmltopdf-failed-error-code-11-75795

Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ค. 20
2535
1
ต.ค. 19
3456
0
มิ.ย. 17
4049
2
ม.ค. 16
10684
1
พ.ค. 15
8755