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
A proposed fix to wkhtmltopdf as it sometimes fails even generation is mostly successful #10
Comments
Seems to make sense. I've added your changes. Can you try the latest version from master? BTW you can find out more on how to contribute to a project here: https://help.github.com/articles/fork-a-repo |
@noshbar Have you tested the latest master? |
@mikehaertl Hi. Sorry for the delay in response. I'm looking for the function to return true even though the wkhtmltopdf process returns a non-zero exit code, which your change doesn't do. That said, I think me posting my original was a mistake as there really is an issue with the binary not your wrapper. What I have done is a hack, and the change you have committed is great. So for me, I will keep my line where I return true if a file exists, but I think you can safely close this issue for now, and I'm really sorry for wasting your time! Thanks again. |
Ok, thanks. |
Hi, thanks for your wrapper, it's really great and easy to use.
As the title states, sometimes the wkhtmltopdf binary completes, prints "Done", then prints an error message stating
As a result the wrapper fails to complete and the file is never moved from /tmp to the final destination, despite the file (probably) being okay.
I'm sure this is not a problem with your wrapper, and I'm pretty sure it's something I've done wrong, but it seems to appear to other people:
https://code.google.com/p/wkhtmltopdf/issues/detail?id=548
So I have a proposed "fix" (read: hack) to work around it for now.
I'm new to Git and GitHub, so I've made a patch but I don't know how to post it.
Below are the contents (please keep laughing to a minimum):
The text was updated successfully, but these errors were encountered: