Wicked_pdf: Not working at all on Sierra OS

Created on 6 Oct 2016  路  7Comments  路  Source: mileszs/wicked_pdf

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: 

Most helpful comment

Its working for me now after upgrading wkhtmltopdf-binary gem to latest 0.12.3 version.

All 7 comments

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 :

  • Update Xcode and activate it
  • bundle update
  • Removing entirely wicked_pdf and wkhtmltopdfthen reinstall it
  • Alternatively run the wkhtmltopdf binary directly from their site

Hope 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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

VladFarion picture VladFarion  路  4Comments

kovloq picture kovloq  路  4Comments

amerritt14 picture amerritt14  路  4Comments

lisamburns picture lisamburns  路  3Comments

panniru picture panniru  路  5Comments