{"action":"closed","issue":{"url":"https://api.github.com/repos/TailorDev/Watson/issues/6","labels_url":"https://api.github.com/repos/TailorDev/Watson/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/TailorDev/Watson/issues/6/comments","events_url":"https://api.github.com/repos/TailorDev/Watson/issues/6/events","html_url":"https://github.com/TailorDev/Watson/issues/6","id":64992999,"number":6,"title":"watson log fails","user":{"login":"jmaupetit","id":956157,"avatar_url":"https://avatars.githubusercontent.com/u/956157?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaupetit","html_url":"https://github.com/jmaupetit","followers_url":"https://api.github.com/users/jmaupetit/followers","following_url":"https://api.github.com/users/jmaupetit/following{/other_user}","gists_url":"https://api.github.com/users/jmaupetit/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaupetit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaupetit/subscriptions","organizations_url":"https://api.github.com/users/jmaupetit/orgs","repos_url":"https://api.github.com/users/jmaupetit/repos","events_url":"https://api.github.com/users/jmaupetit/events{/privacy}","received_events_url":"https://api.github.com/users/jmaupetit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TailorDev/Watson/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"k4nar","id":2692721,"avatar_url":"https://avatars.githubusercontent.com/u/2692721?v=3","gravatar_id":"","url":"https://api.github.com/users/k4nar","html_url":"https://github.com/k4nar","followers_url":"https://api.github.com/users/k4nar/followers","following_url":"https://api.github.com/users/k4nar/following{/other_user}","gists_url":"https://api.github.com/users/k4nar/gists{/gist_id}","starred_url":"https://api.github.com/users/k4nar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k4nar/subscriptions","organizations_url":"https://api.github.com/users/k4nar/orgs","repos_url":"https://api.github.com/users/k4nar/repos","events_url":"https://api.github.com/users/k4nar/events{/privacy}","received_events_url":"https://api.github.com/users/k4nar/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-03-28T21:41:37Z","updated_at":"2015-03-29T18:59:16Z","closed_at":"2015-03-29T18:59:16Z","body":"When you try to log previous activity, watson fails. To reproduce test:\r\n\r\n    $ watson log\r\n\r\nThe traceback for python3.4 installed via homebrew (MacOS 10.10.2) follows:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/watson\", line 9, in <module>\r\n    load_entry_point('watson==0.1', 'console_scripts', 'watson')()\r\n  File \"/usr/local/lib/python3.4/site-packages/pkg_resources.py\", line 353, in load_entry_point\r\n    return get_distribution(dist).load_entry_point(group, name)\r\n  File \"/usr/local/lib/python3.4/site-packages/pkg_resources.py\", line 2302, in load_entry_point\r\n    return ep.load()\r\n  File \"/usr/local/lib/python3.4/site-packages/pkg_resources.py\", line 2029, in load\r\n    entry = __import__(self.module_name, globals(),globals(), ['__name__'])\r\n  File \"<frozen importlib._bootstrap>\", line 2237, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 2226, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 1191, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 1161, in _load_backward_compatible\r\n  File \"/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/watson-0.1-py3.4.egg/watson/__main__.py\", line 3, in <module>\r\n  File \"/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/click-3.3-py3.4.egg/click/core.py\", line 610, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/click-3.3-py3.4.egg/click/core.py\", line 590, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/click-3.3-py3.4.egg/click/core.py\", line 936, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/click-3.3-py3.4.egg/click/core.py\", line 782, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/click-3.3-py3.4.egg/click/core.py\", line 416, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/click-3.3-py3.4.egg/click/decorators.py\", line 26, in new_func\r\n    return ctx.invoke(f, ctx.obj, *args[1:], **kwargs)\r\n  File \"/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/click-3.3-py3.4.egg/click/core.py\", line 416, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/usr/local/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/watson-0.1-py3.4.egg/watson/cli.py\", line 278, in log\r\nValueError: max() arg is an empty sequence\r\n```"}}