Skip to content

Error when multiple sources as input #231

@AxelGard

Description

@AxelGard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions