While we're trying to download a label from Odoo which has more than 500 pages, it shows " Wkhtmltopdf failed (error code: -6). Message: b'QEventDispatcherUNIXPrivate(): Unable to create thread pipe: Too many open files\nQEventDispatcherUNIXPrivate(): Can not continue without a thread pipe\n'
Is there is any solution?
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
4568
มุมมอง
Hi,
This is a common problem that can be caused by various factors, including operating system limits and the configuration of wkhtmltopdf for odoo.
Here are a few things you may try to resolve the issue:
- In Odoo, try reducing the number of records per page, or using a more efficient query. This will decrease the amount of data being loaded into memory and may help reduce the number of open files.
Use a different PDF generation tool:
- If increasing the number of open files or optimizing Odoo settings does not work, you could try using a different tool to generate the PDF file. There are several options available, such as PDFKit, WeasyPrint, and FPDF.
Contact your Odoo support.
I hope this helps
Regards
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
0
ส.ค. 24
|
2395 | ||
|
|
1
ธ.ค. 23
|
5057 | ||
|
|
2
ส.ค. 23
|
4307 | ||
|
|
1
ธ.ค. 23
|
6883 | ||
|
|
1
ก.ค. 23
|
5078 |