I installed Sierra OS this morning on my Mac and i can't use Wicked PDF anymore. Here's the error :
Error: Failed to execute:
["/Users/Loschcode/.rvm/gems/ruby-2.3.0/bin/wkhtmltopdf", "-q", "file:////var/folders/2w/lw3glw5d58g25qvv4cx6yk0m0000gn/T/wicked_pdf20161006-11772-t1lhv9.html", "/var/folders/2w/lw3glw5d58g25qvv4cx6yk0m0000gn/T/wicked_pdf_generated_file20161006-11772-1onzon8.pdf"]
Error: PDF could not be generated!
Command Error:
I ended up solving the problem by trying random changes on the fresh system, i don't know if it's related or not but you can try :
bundle updatewicked_pdf and wkhtmltopdfthen reinstall itwkhtmltopdf binary directly from their siteHope it helps :)
Facing the same issue after upgrading to Sierra. Removing entirely wicked_pdf and wkhtmltopdf then reinstall it, is not working for me. Any help with this would be much appreciated.
Its working for me now after upgrading wkhtmltopdf-binary gem to latest 0.12.3 version.
No need to reinstall wicked_pdf or wkhtmltopdf, but upgrade wkhtmltopdf-binary to 0.12.3 or later as @amitsuryavanshi said
Upgrading wkhtmltopdf-binary to 0.12.3 worked. thanks guys
Upgraded to 0.12.4 and it hangs intermittently. Also, the pages are absurdly wide now. Not sure why. Wish I'd never upgraded OSes.
wkhtmltopdf-binary 0.12.3 works thanks
Most helpful comment
Its working for me now after upgrading wkhtmltopdf-binary gem to latest 0.12.3 version.