jsreport / jsreport-wkhtmltopdf

jsreport recipe for rendering pdf using wkhtmltopdf
http://jsreport.net
MIT License
8 stars 9 forks source link

downloaded wkhtmltopdf not working on OSX #8

Closed bjrmatos closed 7 years ago

bjrmatos commented 7 years ago

when you try to execute the wkhtmltopdf on OSX you get the following error: cannot execute binary file

captura de pantalla 2017-03-28 a las 5 17 19 p m

after some search on google this seems to be a problem on the wkhtmltopdf file itself, seems that the downloaded version is unable to work on OSX.

bjrmatos commented 7 years ago

fixed in wkhtmltopdf-installer, the macosx.zip was invalid, the binary was inside some nested folders, the fix was simple, just packaging the binary at the root.

we don't need a new release since the wkhtmltopdf binary is downloaded directly from github