{"action":"reopened","issue":{"url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/153","labels_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/153/comments","events_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/153/events","html_url":"https://github.com/mileszs/wicked_pdf/issues/153","id":8385410,"number":153,"title":":footer and :header not working with wkhtmltopdf 0.11.0 rc1","user":{"login":"Thomas233","id":1735218,"avatar_url":"https://avatars.githubusercontent.com/u/1735218?v=3","gravatar_id":"","url":"https://api.github.com/users/Thomas233","html_url":"https://github.com/Thomas233","followers_url":"https://api.github.com/users/Thomas233/followers","following_url":"https://api.github.com/users/Thomas233/following{/other_user}","gists_url":"https://api.github.com/users/Thomas233/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomas233/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomas233/subscriptions","organizations_url":"https://api.github.com/users/Thomas233/orgs","repos_url":"https://api.github.com/users/Thomas233/repos","events_url":"https://api.github.com/users/Thomas233/events{/privacy}","received_events_url":"https://api.github.com/users/Thomas233/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mileszs/wicked_pdf/labels/needs-more-info","name":"needs-more-info","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2012-11-15T12:25:22Z","updated_at":"2015-03-20T15:22:37Z","closed_at":null,"body":"Hello,\n\nfirst of all thank you for this great piece of software.\n\nIt`s working fine for me, but have one simple problem. I cannot generate documents with footers or headers. Everything else just works fine. \nIf I use any of the footer or header options, the wkhtmltopdf process seems to crash.\n\n```ruby\n      format.pdf {\n        render :pdf => pdf_filename(@invoice,false),\n            :template => \"invoices/generate\",\n            :layout => \"document\",\n            :footer => {:content => render_to_string({:template => 'shared/_document_bottom'})}, # produces error - commented it out and it worked\n            :show_as_html => params[:debug]\n      }\n```\n\n>\"C:\\Program Files (x86)\\wkhtmltopdf\\wkhtmltopdf.exe\"  --footer-html \"file://C:/Users/Tommy/AppData/>Local/Temp/wicked_footer_pdf_5924_0.html\"       - - \n>Error: PDF could not be generated!):\n>  app/controllers/invoices_controller.rb:77:in `block (2 levels) in generate'\n>  app/controllers/invoices_controller.rb:67:in `generate'\n\nI assume this might be an incompatiblity between wkhtmltopdf 0.11 series and wicked_pdf ?\n\nBut if possible I would like to keep this version due to some fixes. What do you think ?\n\nThank you !"}}