{"action":"opened","issue":{"url":"https://api.github.com/repos/cyclus/cymetric/issues/104","repository_url":"https://api.github.com/repos/cyclus/cymetric","labels_url":"https://api.github.com/repos/cyclus/cymetric/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/cyclus/cymetric/issues/104/comments","events_url":"https://api.github.com/repos/cyclus/cymetric/issues/104/events","html_url":"https://github.com/cyclus/cymetric/issues/104","id":159684562,"number":104,"title":"Possible Issue with 'ExplicitInventoryByAgent'","user":{"login":"FlanFlanagan","id":737899,"avatar_url":"https://avatars.githubusercontent.com/u/737899?v=3","gravatar_id":"","url":"https://api.github.com/users/FlanFlanagan","html_url":"https://github.com/FlanFlanagan","followers_url":"https://api.github.com/users/FlanFlanagan/followers","following_url":"https://api.github.com/users/FlanFlanagan/following{/other_user}","gists_url":"https://api.github.com/users/FlanFlanagan/gists{/gist_id}","starred_url":"https://api.github.com/users/FlanFlanagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlanFlanagan/subscriptions","organizations_url":"https://api.github.com/users/FlanFlanagan/orgs","repos_url":"https://api.github.com/users/FlanFlanagan/repos","events_url":"https://api.github.com/users/FlanFlanagan/events{/privacy}","received_events_url":"https://api.github.com/users/FlanFlanagan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-10T17:34:50Z","updated_at":"2016-06-10T17:34:50Z","closed_at":null,"body":"When I attempt to create frame using the following line I get the following error. \r\n\r\n>>> fname = cym.eval('ExplicitInventoryByAgent', db)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/home/robert/.local/lib/python3.4/site-packages/cymetric/evaluator.py\", line 82, in eval\r\n    return e.eval(str(metric), conds=conds)\r\n  File \"/home/robert/.local/lib/python3.4/site-packages/cymetric/evaluator.py\", line 59, in eval\r\n    raw = m(series=series, conds=conds, known_tables=self.known_tables)\r\n  File \"/home/robert/.local/lib/python3.4/site-packages/cymetric/metrics.py\", line 77, in __call__\r\n    return f(series)\r\n  File \"/home/robert/.local/lib/python3.4/site-packages/cymetric/metrics.py\", line 351, in explicit_inventory_by_agent\r\n    inv = inv.groupby(level=inv_index).sum()\r\nAttributeError: 'NoneType' object has no attribute 'groupby'\r\n"}}
{"actor":{"display_login":"FlanFlanagan"}}