python-pdfkit icon indicating copy to clipboard operation
python-pdfkit copied to clipboard

Error when multiple sources as input

Open AxelGard opened this issue 3 years ago • 0 comments

There seems to be a problem with pdfkit.from_url(['google.com', 'yandex.ru', 'engadget.com'], 'out.pdf')

But this is given as en example in the readme, so I assume that is how it should work.

This works if you do: pdfkit.from_url(['google.com'], 'out.pdf')

the error you get is:

 handle_error
    raise IOError("wkhtmltopdf exited with non-zero code {0}. error:\n{1}".format(exit_code, error_msg))
OSError: wkhtmltopdf exited with non-zero code 1. error:
Exit with code 1, due to unknown error.

At least on an Ubuntu machine.

AxelGard avatar Jun 30 '22 12:06 AxelGard