{"action":"opened","issue":{"url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1495","repository_url":"https://api.github.com/repos/graphite-project/graphite-web","labels_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1495/labels{/name}","comments_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1495/comments","events_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1495/events","html_url":"https://github.com/graphite-project/graphite-web/issues/1495","id":146039141,"number":1495,"title":"countSeries() errors if passed an empty list","user":{"login":"ckolbeck","id":225933,"avatar_url":"https://avatars.githubusercontent.com/u/225933?v=3","gravatar_id":"","url":"https://api.github.com/users/ckolbeck","html_url":"https://github.com/ckolbeck","followers_url":"https://api.github.com/users/ckolbeck/followers","following_url":"https://api.github.com/users/ckolbeck/following{/other_user}","gists_url":"https://api.github.com/users/ckolbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/ckolbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckolbeck/subscriptions","organizations_url":"https://api.github.com/users/ckolbeck/orgs","repos_url":"https://api.github.com/users/ckolbeck/repos","events_url":"https://api.github.com/users/ckolbeck/events{/privacy}","received_events_url":"https://api.github.com/users/ckolbeck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-05T16:20:36Z","updated_at":"2016-04-05T16:20:36Z","closed_at":null,"body":"Expected: 0\r\nGot:\r\n\r\n```\r\n<omitted top of stack>\r\nFile \"/mnt/services/graphite/lib/graphite/render/functions.py\", line 2328, in countSeries\r\n    (seriesList,start,end,step) = normalize(seriesLists)\r\n  File \"/mnt/services/graphite/lib/graphite/render/functions.py\", line 129, in normalize\r\n    step = reduce(lcm,[s.step for s in seriesList])\r\nTypeError: reduce() of empty sequence with no initial value\r\n```\r\n\r\nContext: Attempting to construct a graph of something like \"Percent of <thing> over <threshold>\".\r\n\r\nThanks a bunch"}}