コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2775 ビュー

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?

アバター
破棄
最善の回答

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:

  1. 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.
  2. 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.
  3. Contact your Odoo support.

I hope this helps

Regards

アバター
破棄
関連投稿 返信 ビュー 活動
0
8月 24
954
1
12月 23
2718
2
8月 23
2383
1
12月 23
4170
1
7月 23
2987