{"action":"created","issue":{"url":"https://api.github.com/repos/natsukagami/themis-web-interface/issues/9","repository_url":"https://api.github.com/repos/natsukagami/themis-web-interface","labels_url":"https://api.github.com/repos/natsukagami/themis-web-interface/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/natsukagami/themis-web-interface/issues/9/comments","events_url":"https://api.github.com/repos/natsukagami/themis-web-interface/issues/9/events","html_url":"https://github.com/natsukagami/themis-web-interface/issues/9","id":199512361,"number":9,"title":"Chương trình bị crash khi file trình chấm ngoài output nhiều dòng","user":{"login":"ndkimhao","id":7188260,"avatar_url":"https://avatars.githubusercontent.com/u/7188260?v=3","gravatar_id":"","url":"https://api.github.com/users/ndkimhao","html_url":"https://github.com/ndkimhao","followers_url":"https://api.github.com/users/ndkimhao/followers","following_url":"https://api.github.com/users/ndkimhao/following{/other_user}","gists_url":"https://api.github.com/users/ndkimhao/gists{/gist_id}","starred_url":"https://api.github.com/users/ndkimhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndkimhao/subscriptions","organizations_url":"https://api.github.com/users/ndkimhao/orgs","repos_url":"https://api.github.com/users/ndkimhao/repos","events_url":"https://api.github.com/users/ndkimhao/events{/privacy}","received_events_url":"https://api.github.com/users/ndkimhao/received_events","type":"User","site_admin":false},"labels":[{"id":506711381,"url":"https://api.github.com/repos/natsukagami/themis-web-interface/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"natsukagami","id":9061737,"avatar_url":"https://avatars.githubusercontent.com/u/9061737?v=3","gravatar_id":"","url":"https://api.github.com/users/natsukagami","html_url":"https://github.com/natsukagami","followers_url":"https://api.github.com/users/natsukagami/followers","following_url":"https://api.github.com/users/natsukagami/following{/other_user}","gists_url":"https://api.github.com/users/natsukagami/gists{/gist_id}","starred_url":"https://api.github.com/users/natsukagami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natsukagami/subscriptions","organizations_url":"https://api.github.com/users/natsukagami/orgs","repos_url":"https://api.github.com/users/natsukagami/repos","events_url":"https://api.github.com/users/natsukagami/events{/privacy}","received_events_url":"https://api.github.com/users/natsukagami/received_events","type":"User","site_admin":false},"assignees":[{"login":"natsukagami","id":9061737,"avatar_url":"https://avatars.githubusercontent.com/u/9061737?v=3","gravatar_id":"","url":"https://api.github.com/users/natsukagami","html_url":"https://github.com/natsukagami","followers_url":"https://api.github.com/users/natsukagami/followers","following_url":"https://api.github.com/users/natsukagami/following{/other_user}","gists_url":"https://api.github.com/users/natsukagami/gists{/gist_id}","starred_url":"https://api.github.com/users/natsukagami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natsukagami/subscriptions","organizations_url":"https://api.github.com/users/natsukagami/orgs","repos_url":"https://api.github.com/users/natsukagami/repos","events_url":"https://api.github.com/users/natsukagami/events{/privacy}","received_events_url":"https://api.github.com/users/natsukagami/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/natsukagami/themis-web-interface/milestones/3","html_url":"https://github.com/natsukagami/themis-web-interface/milestone/3","labels_url":"https://api.github.com/repos/natsukagami/themis-web-interface/milestones/3/labels","id":2235054,"number":3,"title":"v0.0.7","description":"","creator":{"login":"natsukagami","id":9061737,"avatar_url":"https://avatars.githubusercontent.com/u/9061737?v=3","gravatar_id":"","url":"https://api.github.com/users/natsukagami","html_url":"https://github.com/natsukagami","followers_url":"https://api.github.com/users/natsukagami/followers","following_url":"https://api.github.com/users/natsukagami/following{/other_user}","gists_url":"https://api.github.com/users/natsukagami/gists{/gist_id}","starred_url":"https://api.github.com/users/natsukagami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natsukagami/subscriptions","organizations_url":"https://api.github.com/users/natsukagami/orgs","repos_url":"https://api.github.com/users/natsukagami/repos","events_url":"https://api.github.com/users/natsukagami/events{/privacy}","received_events_url":"https://api.github.com/users/natsukagami/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":5,"state":"open","created_at":"2017-01-08T03:19:25Z","updated_at":"2017-01-10T11:53:33Z","due_on":"2017-01-15T08:00:00Z","closed_at":null},"comments":3,"created_at":"2017-01-09T09:52:48Z","updated_at":"2017-01-10T11:53:33Z","closed_at":"2017-01-10T11:53:33Z","body":"Khi dùng trình chấm ngoài, nếu output có nhiều dòng thì chương trình sẽ bị crash.\r\n\r\nVD: File log \r\n```\r\nasdf0001‣LINES: 100.00\r\nLINES.pas\r\nDịch thành công\r\n\r\nasdf0001‣LINES‣Test0001: 1.00\r\nThời gian ≈ 0.035345205 giây\r\nOutput: 6.  \r\nAnswer: 6.  \r\nasdf0001‣LINES‣Test0002: 1.00\r\nThời gian ≈ 0.033979277 giây\r\nOutput: 5.  \r\nAnswer: 5.  \r\nasdf0001‣LINES‣Test0003: 1.00\r\nThời gian ≈ 0.035869937 giây\r\nOutput: 2.  \r\nAnswer: 2.  \r\n...............................................\r\nasdf0001‣LINES‣Test0100: 1.00\r\nThời gian ≈ 0.045120528 giây\r\nOutput: 185.  \r\nAnswer: 185.  \r\n```\r\n\r\nSinh lỗi:\r\n```  themis:judgelog New log for asdf0001 on LINES.pas +5m\r\nD:\\Projects\\themis-web-interface\\controls\\judgelog.js:45\r\n                                id: res[i].match(new RegExp(rEs(`${user}‣${problem}‣`) + '(.+)' + rEs(': ') + '(.+)', 'i'))[1],\r\n                                                                                                                           ^\r\n\r\nTypeError: Cannot read property '1' of null\r\n    at Function.__parse (D:\\Projects\\themis-web-interface\\controls\\judgelog.js:45:96)\r\n    at new Log (D:\\Projects\\themis-web-interface\\controls\\judgelog.js:60:22)\r\n    at fs.readFile (D:\\Projects\\themis-web-interface\\controls\\judgelog.js:76:33)\r\n    at tryToString (fs.js:455:3)\r\n    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)\r\nerror Command failed with exit code 1.\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/7188260/21762517/ae0de55a-d68b-11e6-849d-1e0532711da8.png)\r\n"},"comment":{"url":"https://api.github.com/repos/natsukagami/themis-web-interface/issues/comments/271556820","html_url":"https://github.com/natsukagami/themis-web-interface/issues/9#issuecomment-271556820","issue_url":"https://api.github.com/repos/natsukagami/themis-web-interface/issues/9","id":271556820,"user":{"login":"natsukagami","id":9061737,"avatar_url":"https://avatars.githubusercontent.com/u/9061737?v=3","gravatar_id":"","url":"https://api.github.com/users/natsukagami","html_url":"https://github.com/natsukagami","followers_url":"https://api.github.com/users/natsukagami/followers","following_url":"https://api.github.com/users/natsukagami/following{/other_user}","gists_url":"https://api.github.com/users/natsukagami/gists{/gist_id}","starred_url":"https://api.github.com/users/natsukagami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natsukagami/subscriptions","organizations_url":"https://api.github.com/users/natsukagami/orgs","repos_url":"https://api.github.com/users/natsukagami/repos","events_url":"https://api.github.com/users/natsukagami/events{/privacy}","received_events_url":"https://api.github.com/users/natsukagami/received_events","type":"User","site_admin":false},"created_at":"2017-01-10T11:53:33Z","updated_at":"2017-01-10T11:53:33Z","body":"Đã sửa ở #10"}}
{"actor":{"display_login":"natsukagami"}}