{"action":"created","issue":{"url":"https://api.github.com/repos/Linkurious/linkurious.js/issues/181","labels_url":"https://api.github.com/repos/Linkurious/linkurious.js/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/Linkurious/linkurious.js/issues/181/comments","events_url":"https://api.github.com/repos/Linkurious/linkurious.js/issues/181/events","html_url":"https://github.com/Linkurious/linkurious.js/issues/181","id":95279989,"number":181,"title":"Issues with Image Export plugin","user":{"login":"emergingdzns","id":1018133,"avatar_url":"https://avatars.githubusercontent.com/u/1018133?v=3","gravatar_id":"","url":"https://api.github.com/users/emergingdzns","html_url":"https://github.com/emergingdzns","followers_url":"https://api.github.com/users/emergingdzns/followers","following_url":"https://api.github.com/users/emergingdzns/following{/other_user}","gists_url":"https://api.github.com/users/emergingdzns/gists{/gist_id}","starred_url":"https://api.github.com/users/emergingdzns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emergingdzns/subscriptions","organizations_url":"https://api.github.com/users/emergingdzns/orgs","repos_url":"https://api.github.com/users/emergingdzns/repos","events_url":"https://api.github.com/users/emergingdzns/events{/privacy}","received_events_url":"https://api.github.com/users/emergingdzns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-15T20:14:22Z","updated_at":"2015-07-17T14:22:38Z","closed_at":null,"body":"Following the directions and example:\r\n```sigma.plugins.image(s, s.renderers[0], {download:true});```\r\n\r\nBut when the image export is attempted, I get the following error message in the console:\r\n\r\n```InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable\r\n_canvasContext.drawImage(canvas, 0, 0);``` - referring to line 190 on the plugin js file.\r\n\r\nI can't figure out what object it's referring to. Any ideas?"},"comment":{"url":"https://api.github.com/repos/Linkurious/linkurious.js/issues/comments/122292573","html_url":"https://github.com/Linkurious/linkurious.js/issues/181#issuecomment-122292573","issue_url":"https://api.github.com/repos/Linkurious/linkurious.js/issues/181","id":122292573,"user":{"login":"emergingdzns","id":1018133,"avatar_url":"https://avatars.githubusercontent.com/u/1018133?v=3","gravatar_id":"","url":"https://api.github.com/users/emergingdzns","html_url":"https://github.com/emergingdzns","followers_url":"https://api.github.com/users/emergingdzns/followers","following_url":"https://api.github.com/users/emergingdzns/following{/other_user}","gists_url":"https://api.github.com/users/emergingdzns/gists{/gist_id}","starred_url":"https://api.github.com/users/emergingdzns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emergingdzns/subscriptions","organizations_url":"https://api.github.com/users/emergingdzns/orgs","repos_url":"https://api.github.com/users/emergingdzns/repos","events_url":"https://api.github.com/users/emergingdzns/events{/privacy}","received_events_url":"https://api.github.com/users/emergingdzns/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T14:22:38Z","updated_at":"2015-07-17T14:22:38Z","body":"Ok. That's different... Got past that previous error and now gives this in Firefox:\r\n```\r\nTypeError: this.contexts is undefined\r\ntempGCO = this.contexts.edges.globalCompositeOperation;\r\n```\r\nChrome however gives the same error about unable to read the property 'edges'.\r\n\r\nSafari gives a similar error as Firefox:\r\n```\r\n[Error] TypeError: undefined is not an object (evaluating 'this.contexts.edges')\r\n\tjob (sigma.renderers.canvas.js, line 207)\r\n\t(anonymous function) ([native code], line 0)\r\n\t_executeFirstJob (conrad.js, line 271)\r\n\t_loop (conrad.js, line 363)\r\n```\r\n\r\nThese to me seem to indicate that it has gotten past the image plugin and is now having issues in the core somewhere reading the edges. I have a working graph though so I'm not sure what's breaking it. I'll try to see if I can put together a jsfiddle of this graph, but that will take some time."}}