{"action":"created","issue":{"url":"https://api.github.com/repos/discoproject/disco/issues/577","repository_url":"https://api.github.com/repos/discoproject/disco","labels_url":"https://api.github.com/repos/discoproject/disco/issues/577/labels{/name}","comments_url":"https://api.github.com/repos/discoproject/disco/issues/577/comments","events_url":"https://api.github.com/repos/discoproject/disco/issues/577/events","html_url":"https://github.com/discoproject/disco/issues/577","id":42710554,"number":577,"title":"Handle whitespaces in the raw input","user":{"login":"pooya","id":247155,"avatar_url":"https://avatars.githubusercontent.com/u/247155?v=3","gravatar_id":"","url":"https://api.github.com/users/pooya","html_url":"https://github.com/pooya","followers_url":"https://api.github.com/users/pooya/followers","following_url":"https://api.github.com/users/pooya/following{/other_user}","gists_url":"https://api.github.com/users/pooya/gists{/gist_id}","starred_url":"https://api.github.com/users/pooya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pooya/subscriptions","organizations_url":"https://api.github.com/users/pooya/orgs","repos_url":"https://api.github.com/users/pooya/repos","events_url":"https://api.github.com/users/pooya/events{/privacy}","received_events_url":"https://api.github.com/users/pooya/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/discoproject/disco/labels/feature","name":"feature","color":"0dab18"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2014-09-14T02:09:34Z","updated_at":"2016-06-26T19:11:30Z","closed_at":null,"body":"Currenly, a raw input cannot have a whitespace in it. We get error messages like this:\r\n  \r\n    File \"/usr/var/disco/data/localhost/00/RawJob@582:9e4eb:bdc/home/shayan/disco/lib/disco/util.py\", line 262, in read_index\r\n    label, url, size = bytes_to_str(line).split()\r\n    ValueError: too many values to unpack\r\n\r\nWe probably can generalize the raw input to be able to accept various types of inputs"},"comment":{"url":"https://api.github.com/repos/discoproject/disco/issues/comments/228617128","html_url":"https://github.com/discoproject/disco/issues/577#issuecomment-228617128","issue_url":"https://api.github.com/repos/discoproject/disco/issues/577","id":228617128,"user":{"login":"gilessbrown","id":9061113,"avatar_url":"https://avatars.githubusercontent.com/u/9061113?v=3","gravatar_id":"","url":"https://api.github.com/users/gilessbrown","html_url":"https://github.com/gilessbrown","followers_url":"https://api.github.com/users/gilessbrown/followers","following_url":"https://api.github.com/users/gilessbrown/following{/other_user}","gists_url":"https://api.github.com/users/gilessbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/gilessbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilessbrown/subscriptions","organizations_url":"https://api.github.com/users/gilessbrown/orgs","repos_url":"https://api.github.com/users/gilessbrown/repos","events_url":"https://api.github.com/users/gilessbrown/events{/privacy}","received_events_url":"https://api.github.com/users/gilessbrown/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T19:11:30Z","updated_at":"2016-06-26T19:11:30Z","body":"Isn't this just a question of changing the `.split()` to `.split(None, 2)`?"}}
{"actor":{"display_login":"gilessbrown"}}