Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when multiple sources as input #231

Open
AxelGard opened this issue Jun 30, 2022 · 0 comments
Open

Error when multiple sources as input #231

AxelGard opened this issue Jun 30, 2022 · 0 comments

Comments

@AxelGard
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant