{"action":"created","issue":{"url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf/issues/111","labels_url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf/issues/111/comments","events_url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf/issues/111/events","html_url":"https://github.com/mikehaertl/phpwkhtmltopdf/issues/111","id":91851970,"number":111,"title":"Failed without error message","user":{"login":"eusonlito","id":644551,"avatar_url":"https://avatars.githubusercontent.com/u/644551?v=3","gravatar_id":"","url":"https://api.github.com/users/eusonlito","html_url":"https://github.com/eusonlito","followers_url":"https://api.github.com/users/eusonlito/followers","following_url":"https://api.github.com/users/eusonlito/following{/other_user}","gists_url":"https://api.github.com/users/eusonlito/gists{/gist_id}","starred_url":"https://api.github.com/users/eusonlito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eusonlito/subscriptions","organizations_url":"https://api.github.com/users/eusonlito/orgs","repos_url":"https://api.github.com/users/eusonlito/repos","events_url":"https://api.github.com/users/eusonlito/events{/privacy}","received_events_url":"https://api.github.com/users/eusonlito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-06-29T16:36:26Z","updated_at":"2015-06-29T17:15:47Z","closed_at":null,"body":"Similar problem as #99 and #97 but I think that this is a bug.\r\n\r\nMy code is fine, and command is:\r\n\r\n```sh\r\nwkhtmltopdf --encoding 'UTF-8' --dpi '96' --no-outline '/tmp/tmp_wkhtmlto_pdf_GRP6cv.html' '/tmp_wkhtmlto_pdf_hw2PnV.pdf'\r\n```\r\n\r\nIf I execute this script from terminal, this is the log:\r\n\r\n```sh\r\nThe switch --no-outline, is not support using unpatched qt, and will be ignored.Loading page (1/2)\r\nPrinting pages (2/2)                                               \r\nDone\r\n```\r\n\r\nBut `phpwkhtmltopdf` response an error and does not generate the PDF.\r\n\r\n```sh\r\n\"Failed without error message: wkhtmltopdf --encoding 'UTF-8' --dpi '96' --no-outline '/tmp/tmp_wkhtmlto_pdf_GRP6cv.html' '/tmp/tmp_wkhtmlto_pdf_hw2PnV.pdf'\"\r\n```\r\n\r\nThis file generated from terminal is a valid PDF file `/tmp/tmp_wkhtmlto_pdf_hw2PnV.pdf`\r\n\r\nMaybe some error checking critical wkhtmltopdf errors?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf/issues/comments/116765735","html_url":"https://github.com/mikehaertl/phpwkhtmltopdf/issues/111#issuecomment-116765735","issue_url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf/issues/111","id":116765735,"user":{"login":"eusonlito","id":644551,"avatar_url":"https://avatars.githubusercontent.com/u/644551?v=3","gravatar_id":"","url":"https://api.github.com/users/eusonlito","html_url":"https://github.com/eusonlito","followers_url":"https://api.github.com/users/eusonlito/followers","following_url":"https://api.github.com/users/eusonlito/following{/other_user}","gists_url":"https://api.github.com/users/eusonlito/gists{/gist_id}","starred_url":"https://api.github.com/users/eusonlito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eusonlito/subscriptions","organizations_url":"https://api.github.com/users/eusonlito/orgs","repos_url":"https://api.github.com/users/eusonlito/repos","events_url":"https://api.github.com/users/eusonlito/events{/privacy}","received_events_url":"https://api.github.com/users/eusonlito/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T17:15:47Z","updated_at":"2015-06-29T17:15:47Z","body":"Is strange because wkhtmltopdf was not updated in last weeks and my code is the same...\r\n\r\nYes, I remember, but I'm testing now in my Ubuntu computer under graphic environment.\r\n\r\nYou can see that `2 => array('pipe','w'),` works better than `2 => array('pipe','a'),` because with `w` you can get the response and with `a` doesn't.\r\n\r\nI will check the library using the `wkhtmltopdf` binary from github."}}