Wkhtmltopdf failed (error code: -9) when printing a report with a large number of records

46 Views Asked by At

Odoo Community Edition version 14 / Wkhtmltopdf version 0.12.6 (with patched qt)

When printing a report with a large number of records (for example, printing standard Sale Order report with more than 300 records), the system displays this error after waiting for a while.

Wkhtmltopdf failed (error code: -9). Message: b"

This error happens in every report when the number of records is high enough.

I have searched in Google and the official Github issue. There are no solutions to this problem.

I have already set client_max_body_size to 25M in nginx, but the problem still persists.

I would like to solve this error and successfully print reports with large number of records.

Any suggestion is welcome.

0

There are 0 best solutions below