{"action":"opened","issue":{"url":"https://api.github.com/repos/Robpol86/etaprogress/issues/2","labels_url":"https://api.github.com/repos/Robpol86/etaprogress/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Robpol86/etaprogress/issues/2/comments","events_url":"https://api.github.com/repos/Robpol86/etaprogress/issues/2/events","html_url":"https://github.com/Robpol86/etaprogress/issues/2","id":67823982,"number":2,"title":"division by 0 in eta.py","user":{"login":"Iulian7","id":11798936,"avatar_url":"https://avatars.githubusercontent.com/u/11798936?v=3","gravatar_id":"","url":"https://api.github.com/users/Iulian7","html_url":"https://github.com/Iulian7","followers_url":"https://api.github.com/users/Iulian7/followers","following_url":"https://api.github.com/users/Iulian7/following{/other_user}","gists_url":"https://api.github.com/users/Iulian7/gists{/gist_id}","starred_url":"https://api.github.com/users/Iulian7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iulian7/subscriptions","organizations_url":"https://api.github.com/users/Iulian7/orgs","repos_url":"https://api.github.com/users/Iulian7/repos","events_url":"https://api.github.com/users/Iulian7/events{/privacy}","received_events_url":"https://api.github.com/users/Iulian7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-11T19:30:32Z","updated_at":"2015-04-11T19:30:32Z","closed_at":null,"body":"Hello, \r\n\r\nI am using the progress bar to report progress on some long running task. Sometime I get a division by 0 exception in eta.py at line 155:\r\n\r\n    pearson_r = sum_xy / sqrt(sum_sq_v_x * sum_sq_v_y)\r\n\r\nThis does not happen all the time, but it does happen quite frequently. Sometimes the numerator is incremented by 0, sometime by some thousands. \r\n\r\nIs this a known bug? \r\n\r\nThanks,\r\nIulian"}}