{"action":"created","issue":{"url":"https://api.github.com/repos/csquared/IMGKit/issues/65","labels_url":"https://api.github.com/repos/csquared/IMGKit/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/csquared/IMGKit/issues/65/comments","events_url":"https://api.github.com/repos/csquared/IMGKit/issues/65/events","html_url":"https://github.com/csquared/IMGKit/issues/65","id":39610100,"number":65,"title":"IMGKit::CommandFailedError","user":{"login":"k0954342","id":870447,"avatar_url":"https://avatars.githubusercontent.com/u/870447?v=3","gravatar_id":"","url":"https://api.github.com/users/k0954342","html_url":"https://github.com/k0954342","followers_url":"https://api.github.com/users/k0954342/followers","following_url":"https://api.github.com/users/k0954342/following{/other_user}","gists_url":"https://api.github.com/users/k0954342/gists{/gist_id}","starred_url":"https://api.github.com/users/k0954342/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0954342/subscriptions","organizations_url":"https://api.github.com/users/k0954342/orgs","repos_url":"https://api.github.com/users/k0954342/repos","events_url":"https://api.github.com/users/k0954342/events{/privacy}","received_events_url":"https://api.github.com/users/k0954342/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-08-06T10:54:46Z","updated_at":"2015-01-14T12:24:06Z","closed_at":"2014-08-07T15:27:30Z","body":"So I tried following the basic example of converting a URL to an image. But I seem to get the following: \r\n\r\n```code\r\n1.9.3-p392 :009 > IMGKit::VERSION\r\n => \"1.4.1\" \r\n1.9.3-p392 :010 > kit = IMGKit.new('http://google.com', quality: 40, zoom: 0.2)\r\n => #<IMGKit:0x0000000617cc70 @source=http://google.com, @stylesheets=[], @options={:height=>1000, :quality=>40, :zoom=>0.2}> \r\n1.9.3-p392 :011 > img = kit.to_img(:png) and 'good'\r\nIMGKit::CommandFailedError: Command failed: /usr/local/bin/wkhtmltoimage --height 1000 --quality 40 --zoom 0.2 --format png http://google.com -: Loading page (1/2)\r\nQSslSocket: cannot resolve SSLv2_client_method               ] 10%\r\nQSslSocket: cannot resolve SSLv2_server_method\r\nRendering (2/2)                                                    \r\nQPixmap: Cannot create a QPixmap when no GUI is being used   ] 25%\r\nQPixmap: Cannot create a QPixmap when no GUI is being used\r\nQPixmap: Cannot create a QPixmap when no GUI is being used\r\nQPixmap: Cannot create a QPixmap when no GUI is being used\r\nQPixmap: Cannot create a QPixmap when no GUI is being used\r\n\r\n        from /home/david/.rvm/gems/ruby-1.9.3-p392/gems/imgkit-1.4.1/lib/imgkit/imgkit.rb:111:in `to_img'\r\n        from (irb):11\r\n        from /home/david/.rvm/gems/ruby-1.9.3-p392/gems/railties-3.2.17/lib/rails/commands/console.rb:47:in `start'\r\n        from /home/david/.rvm/gems/ruby-1.9.3-p392/gems/railties-3.2.17/lib/rails/commands/console.rb:8:in `start'\r\n        from /home/david/.rvm/gems/ruby-1.9.3-p392/gems/railties-3.2.17/lib/rails/commands.rb:41:in `<top (required)>'\r\n        from script/rails:6:in `require'\r\n        from script/rails:6:in `<main>'\r\n```\r\nI did also try following this comment: https://github.com/csquared/IMGKit/issues/32#issuecomment-8863340"},"comment":{"url":"https://api.github.com/repos/csquared/IMGKit/issues/comments/69908944","html_url":"https://github.com/csquared/IMGKit/issues/65#issuecomment-69908944","issue_url":"https://api.github.com/repos/csquared/IMGKit/issues/65","id":69908944,"user":{"login":"joaovpmamede","id":1040722,"avatar_url":"https://avatars.githubusercontent.com/u/1040722?v=3","gravatar_id":"","url":"https://api.github.com/users/joaovpmamede","html_url":"https://github.com/joaovpmamede","followers_url":"https://api.github.com/users/joaovpmamede/followers","following_url":"https://api.github.com/users/joaovpmamede/following{/other_user}","gists_url":"https://api.github.com/users/joaovpmamede/gists{/gist_id}","starred_url":"https://api.github.com/users/joaovpmamede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaovpmamede/subscriptions","organizations_url":"https://api.github.com/users/joaovpmamede/orgs","repos_url":"https://api.github.com/users/joaovpmamede/repos","events_url":"https://api.github.com/users/joaovpmamede/events{/privacy}","received_events_url":"https://api.github.com/users/joaovpmamede/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T12:24:06Z","updated_at":"2015-01-14T12:24:06Z","body":"In my case I can't just put the action to a delayed job because the client is editing some fields that will trigger the image rendering and needs the ajax response asap.\r\nShould I use a different wkhtmltoimage version?\r\nRight now I'm with:\r\n\r\nwkhtmltoimage 0.12.1 (with patched qt)"}}