igor-alexandrov/wisepdf

Call to wkhtmltopdf never terminate

dbourguignon opened this issue · 0 comments

Tested on Max OS X (10.9.4)
Ruby 1.9.3p484

With several version of wkhtmltopdf (the one in wkhtmltopdf-binaries, the standard one on brew, one compiled by myself)

Tested with wisepdf version 1.2.5 and 1.4.0

the log dump :


"/usr/local/bin/wkhtmltopdf" "--encoding" "UTF-8" "--quiet" "-" "-"


And get stuck there. An icon of wkhtmltopdf appear in the dock, and I have to kill it to continue.

I generated the HTML and ran manually using :

cat tmp/invoice.html | wkhtmltopdf --quiet --encoding UTF-8 - -

and it worked well, generating a correct PDF.

The input file is a quite big html with a big inline CSS :
https://gist.github.com/dbourguignon/59668a75c739ced50eb4

Any idea ?