{"action":"created","issue":{"url":"https://api.github.com/repos/sverweij/mscgenjs-cli/issues/14","repository_url":"https://api.github.com/repos/sverweij/mscgenjs-cli","labels_url":"https://api.github.com/repos/sverweij/mscgenjs-cli/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/sverweij/mscgenjs-cli/issues/14/comments","events_url":"https://api.github.com/repos/sverweij/mscgenjs-cli/issues/14/events","html_url":"https://github.com/sverweij/mscgenjs-cli/issues/14","id":165710010,"number":14,"title":"Getting stdout maxBuffer exceeded error","user":{"login":"rbeathar","id":1841249,"avatar_url":"https://avatars.githubusercontent.com/u/1841249?v=3","gravatar_id":"","url":"https://api.github.com/users/rbeathar","html_url":"https://github.com/rbeathar","followers_url":"https://api.github.com/users/rbeathar/followers","following_url":"https://api.github.com/users/rbeathar/following{/other_user}","gists_url":"https://api.github.com/users/rbeathar/gists{/gist_id}","starred_url":"https://api.github.com/users/rbeathar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbeathar/subscriptions","organizations_url":"https://api.github.com/users/rbeathar/orgs","repos_url":"https://api.github.com/users/rbeathar/repos","events_url":"https://api.github.com/users/rbeathar/events{/privacy}","received_events_url":"https://api.github.com/users/rbeathar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sverweij/mscgenjs-cli/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"sverweij","id":4822597,"avatar_url":"https://avatars.githubusercontent.com/u/4822597?v=3","gravatar_id":"","url":"https://api.github.com/users/sverweij","html_url":"https://github.com/sverweij","followers_url":"https://api.github.com/users/sverweij/followers","following_url":"https://api.github.com/users/sverweij/following{/other_user}","gists_url":"https://api.github.com/users/sverweij/gists{/gist_id}","starred_url":"https://api.github.com/users/sverweij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sverweij/subscriptions","organizations_url":"https://api.github.com/users/sverweij/orgs","repos_url":"https://api.github.com/users/sverweij/repos","events_url":"https://api.github.com/users/sverweij/events{/privacy}","received_events_url":"https://api.github.com/users/sverweij/received_events","type":"User","site_admin":false},"assignees":[{"login":"sverweij","id":4822597,"avatar_url":"https://avatars.githubusercontent.com/u/4822597?v=3","gravatar_id":"","url":"https://api.github.com/users/sverweij","html_url":"https://github.com/sverweij","followers_url":"https://api.github.com/users/sverweij/followers","following_url":"https://api.github.com/users/sverweij/following{/other_user}","gists_url":"https://api.github.com/users/sverweij/gists{/gist_id}","starred_url":"https://api.github.com/users/sverweij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sverweij/subscriptions","organizations_url":"https://api.github.com/users/sverweij/orgs","repos_url":"https://api.github.com/users/sverweij/repos","events_url":"https://api.github.com/users/sverweij/events{/privacy}","received_events_url":"https://api.github.com/users/sverweij/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-07-15T04:39:31Z","updated_at":"2016-07-15T17:13:09Z","closed_at":null,"body":"I am getting \"stdout maxBuffer exceeded\" error when processing this file.  I have narrow this issue to the execFile call in action.js script.  This seems to be caused by the stdout buffer being too small.  \r\n\r\nIf I increase the maxBuffer to 1 meg then the script will generate the attached svg file.\r\n         childProcess.execFile(binPath, args,{maxBuffer:1000000}, (pErr, pStdout/* , pStderr*/) => {\r\n\r\nSome of the websites seem to indicate that it is better to handle this via a spawn, however I do not know if this function can be rewritten using spawn.\r\n\r\n[ts.xu.gz](https://github.com/sverweij/mscgenjs-cli/files/365183/ts.xu.gz)"},"comment":{"url":"https://api.github.com/repos/sverweij/mscgenjs-cli/issues/comments/233011317","html_url":"https://github.com/sverweij/mscgenjs-cli/issues/14#issuecomment-233011317","issue_url":"https://api.github.com/repos/sverweij/mscgenjs-cli/issues/14","id":233011317,"user":{"login":"rbeathar","id":1841249,"avatar_url":"https://avatars.githubusercontent.com/u/1841249?v=3","gravatar_id":"","url":"https://api.github.com/users/rbeathar","html_url":"https://github.com/rbeathar","followers_url":"https://api.github.com/users/rbeathar/followers","following_url":"https://api.github.com/users/rbeathar/following{/other_user}","gists_url":"https://api.github.com/users/rbeathar/gists{/gist_id}","starred_url":"https://api.github.com/users/rbeathar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbeathar/subscriptions","organizations_url":"https://api.github.com/users/rbeathar/orgs","repos_url":"https://api.github.com/users/rbeathar/repos","events_url":"https://api.github.com/users/rbeathar/events{/privacy}","received_events_url":"https://api.github.com/users/rbeathar/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T17:13:09Z","updated_at":"2016-07-15T17:13:09Z","body":"No rush for me, the work around works for me. I was thinking I was going to have to resort to using plantuml. I like the look of the rendering from mscgen-js and the finer controls for colors. I am glad there is a work around.\n\nThanks for the support.\n\n\nSent from my iPhone\n\n> On Jul 15, 2016, at 11:47 AM, Sander Verweij <notifications@github.com> wrote:\n> \n> @rbeathar 69fccf4 implements your fix with a buffer size of 1Mb, which alleviates the problem. I've looked in to your suggestion to use spawn - and that indeed looks like a more permanent fix. I'll release version 1.4.3 this weekend. It will include the spawn fix if I'm ready in time, but the workaround if not.\n> \n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"rbeathar"}}