{"action":"created","issue":{"url":"https://api.github.com/repos/Gang-Garrison-2/Gang-Garrison-2/issues/157","labels_url":"https://api.github.com/repos/Gang-Garrison-2/Gang-Garrison-2/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/Gang-Garrison-2/Gang-Garrison-2/issues/157/comments","events_url":"https://api.github.com/repos/Gang-Garrison-2/Gang-Garrison-2/issues/157/events","html_url":"https://github.com/Gang-Garrison-2/Gang-Garrison-2/issues/157","id":90212288,"number":157,"title":"Has the updater ever worked since 2.7?","user":{"login":"Killercrusher232","id":4534813,"avatar_url":"https://avatars.githubusercontent.com/u/4534813?v=3","gravatar_id":"","url":"https://api.github.com/users/Killercrusher232","html_url":"https://github.com/Killercrusher232","followers_url":"https://api.github.com/users/Killercrusher232/followers","following_url":"https://api.github.com/users/Killercrusher232/following{/other_user}","gists_url":"https://api.github.com/users/Killercrusher232/gists{/gist_id}","starred_url":"https://api.github.com/users/Killercrusher232/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Killercrusher232/subscriptions","organizations_url":"https://api.github.com/users/Killercrusher232/orgs","repos_url":"https://api.github.com/users/Killercrusher232/repos","events_url":"https://api.github.com/users/Killercrusher232/events{/privacy}","received_events_url":"https://api.github.com/users/Killercrusher232/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-22T21:04:56Z","updated_at":"2015-07-04T01:19:10Z","closed_at":null,"body":"````\r\nERROR in\r\naction number 1\r\nof Create Event\r\nfor object Updater:\r\n\r\nError in code at line 51:\r\n           progressBar = floor((progress/size) * 20);\r\n                                         ^\r\nat position 40: Division by 0.\r\n````\r\n\r\nLast time I tried to update it just did nothing, now it actually errors too."},"comment":{"url":"https://api.github.com/repos/Gang-Garrison-2/Gang-Garrison-2/issues/comments/118447716","html_url":"https://github.com/Gang-Garrison-2/Gang-Garrison-2/issues/157#issuecomment-118447716","issue_url":"https://api.github.com/repos/Gang-Garrison-2/Gang-Garrison-2/issues/157","id":118447716,"user":{"login":"Medo42","id":339540,"avatar_url":"https://avatars.githubusercontent.com/u/339540?v=3","gravatar_id":"","url":"https://api.github.com/users/Medo42","html_url":"https://github.com/Medo42","followers_url":"https://api.github.com/users/Medo42/followers","following_url":"https://api.github.com/users/Medo42/following{/other_user}","gists_url":"https://api.github.com/users/Medo42/gists{/gist_id}","starred_url":"https://api.github.com/users/Medo42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Medo42/subscriptions","organizations_url":"https://api.github.com/users/Medo42/orgs","repos_url":"https://api.github.com/users/Medo42/repos","events_url":"https://api.github.com/users/Medo42/events{/privacy}","received_events_url":"https://api.github.com/users/Medo42/received_events","type":"User","site_admin":false},"created_at":"2015-07-04T01:19:10Z","updated_at":"2015-07-04T01:19:10Z","body":"This happened because `http_response_body_size(downloadHandle)` returned 0. I don't know under which conditions that can happen, but in any case we should make it so that it won't cause a crash. I suggest we change the condition in the code that updates the progress bar from `if (size != -1)` to `if (size > 0)`."}}