{"action":"created","issue":{"url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/230","repository_url":"https://api.github.com/repos/ImageMagick/ImageMagick","labels_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/230/comments","events_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/230/events","html_url":"https://github.com/ImageMagick/ImageMagick/issues/230","id":165534606,"number":230,"title":"delegate failed `\"curl\" -s -k -o \"%o\" \"https:%F\"' @ error/delegate.c/InvokeDelegate/1065","user":{"login":"igniting","id":1438071,"avatar_url":"https://avatars.githubusercontent.com/u/1438071?v=3","gravatar_id":"","url":"https://api.github.com/users/igniting","html_url":"https://github.com/igniting","followers_url":"https://api.github.com/users/igniting/followers","following_url":"https://api.github.com/users/igniting/following{/other_user}","gists_url":"https://api.github.com/users/igniting/gists{/gist_id}","starred_url":"https://api.github.com/users/igniting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igniting/subscriptions","organizations_url":"https://api.github.com/users/igniting/orgs","repos_url":"https://api.github.com/users/igniting/repos","events_url":"https://api.github.com/users/igniting/events{/privacy}","received_events_url":"https://api.github.com/users/igniting/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-14T11:02:02Z","updated_at":"2016-08-16T06:04:13Z","closed_at":null,"body":"On running:\r\n\r\n`convert https://www.imagemagick.org/image/wizard.png wizard.png`\r\n\r\nI get this error:\r\n```\r\nconvert.im6: delegate failed `\"curl\" -s -k -o \"%o\" \"https:%F\"' @ error/delegate.c/InvokeDelegate/1065.\r\nconvert.im6: unable to open image `/tmp/magick-3zcDa8hd': No such file or directory @ error/blob.c/OpenBlob/2641.\r\nconvert.im6: unable to open file `/tmp/magick-3zcDa8hd': No such file or directory @ error/constitute.c/ReadImage/583.\r\nconvert.im6: no images defined `wizard.png' @ error/convert.c/ConvertImageCommand/3044.\r\n```\r\nWhen running `curl -s -k -o wizard.png https://www.imagemagick.org/image/wizard.png` directly, I get no such error.\r\n\r\nUseful info:\r\n\r\n```\r\n$ convert --version\r\nVersion: ImageMagick 6.7.7-10 2016-06-01 Q16 http://www.imagemagick.org\r\nCopyright: Copyright (C) 1999-2012 ImageMagick Studio LLC\r\nFeatures: OpenMP \r\n```\r\nI have commented out this line in `policy.xml`:\r\n`<!-- <policy domain=\"coder\" rights=\"none\" pattern=\"HTTPS\" /> -->`\r\n\r\nand `delegates.xml` contains this line:\r\n`<delegate decode=\"https\" command=\"&quot;curl&quot; -s -k -o &quot;%o&quot; &quot;https:%F&quot;\"/>`"},"comment":{"url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/comments/240010692","html_url":"https://github.com/ImageMagick/ImageMagick/issues/230#issuecomment-240010692","issue_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/230","id":240010692,"user":{"login":"PaulAik","id":99102,"avatar_url":"https://avatars.githubusercontent.com/u/99102?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulAik","html_url":"https://github.com/PaulAik","followers_url":"https://api.github.com/users/PaulAik/followers","following_url":"https://api.github.com/users/PaulAik/following{/other_user}","gists_url":"https://api.github.com/users/PaulAik/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulAik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulAik/subscriptions","organizations_url":"https://api.github.com/users/PaulAik/orgs","repos_url":"https://api.github.com/users/PaulAik/repos","events_url":"https://api.github.com/users/PaulAik/events{/privacy}","received_events_url":"https://api.github.com/users/PaulAik/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T06:04:13Z","updated_at":"2016-08-16T06:04:13Z","body":"Hi @mikayla-grace, so changed line to:\r\n\r\n`<delegate decode=\"https\" command=\"&quot;curl&quot; -s -k -o &quot;%o&quot; &quot;https:%M&quot;\"/>`\r\n\r\nDifferent issue occurs:\r\n\r\n```\r\n\"curl\" -s -k -o \"/tmp/magick-8KKtqcfo\" \"https://www.imagemagick.org/image/wizard.png\"\r\nconvert.im6: delegate failed `\"curl\" -s -k -o \"%o\" \"https:%M\"' @ error/delegate.c/InvokeDelegate/1065.\r\nconvert.im6: Expected 8192 bytes; found 7883 bytes `/tmp/magick-Y3EPReKf' @ warning/png.c/MagickPNGWarningHandler/1754.\r\nconvert.im6: Read Exception `/tmp/magick-Y3EPReKf' @ error/png.c/MagickPNGErrorHandler/1728.\r\nconvert.im6: corrupt image `/tmp/magick-Y3EPReKf' @ error/png.c/ReadPNGImage/3723.\r\nconvert.im6: no images defined `wizard.png' @ error/convert.c/ConvertImageCommand/3044.\r\n```\r\n\r\nLooks like a manual build & install may be required to fix as suggested?"}}
{"actor":{"display_login":"PaulAik"}}