K
K
kirillinyakin2020-10-03 03:09:17
Python
kirillinyakin, 2020-10-03 03:09:17

When using wkhtmltopdf, an error occurs. How to fix?

I am using Docker Alpine image. My script uses wkhtmltopdf. Convert html to png using python library. But the error OSError crashes: wkhtmltoimage exited with non-zero code -11

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2020-10-03
@sergey-gornostaev

Code 11 is out of memory, most likely.

V
Viktor T2, 2020-10-03
@Viktor_T2

Might be off topic, but try WeasyPrint

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question