{"action":"opened","issue":{"url":"https://api.github.com/repos/coddingtonbear/python-myfitnesspal/issues/41","repository_url":"https://api.github.com/repos/coddingtonbear/python-myfitnesspal","labels_url":"https://api.github.com/repos/coddingtonbear/python-myfitnesspal/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/coddingtonbear/python-myfitnesspal/issues/41/comments","events_url":"https://api.github.com/repos/coddingtonbear/python-myfitnesspal/issues/41/events","html_url":"https://github.com/coddingtonbear/python-myfitnesspal/issues/41","id":173266450,"number":41,"title":"list index out of range","user":{"login":"edusteinhorst","id":8649430,"avatar_url":"https://avatars.githubusercontent.com/u/8649430?v=3","gravatar_id":"","url":"https://api.github.com/users/edusteinhorst","html_url":"https://github.com/edusteinhorst","followers_url":"https://api.github.com/users/edusteinhorst/followers","following_url":"https://api.github.com/users/edusteinhorst/following{/other_user}","gists_url":"https://api.github.com/users/edusteinhorst/gists{/gist_id}","starred_url":"https://api.github.com/users/edusteinhorst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edusteinhorst/subscriptions","organizations_url":"https://api.github.com/users/edusteinhorst/orgs","repos_url":"https://api.github.com/users/edusteinhorst/repos","events_url":"https://api.github.com/users/edusteinhorst/events{/privacy}","received_events_url":"https://api.github.com/users/edusteinhorst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-25T17:43:06Z","updated_at":"2016-08-25T17:43:06Z","closed_at":null,"body":"Hi,\r\n\r\nhave been getting this error since today, when using \"myfitnesspal day user\":\r\n\r\n                                                                                                                                   \r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): www.myfitnesspal.com                                                                                         \r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): www.myfitnesspal.com                                                                                          \r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): api.myfitnesspal.com                                                                                         \r\nERROR:myfitnesspal.cmdline:list index out of range\r\nTraceback (most recent call last):                                                                                                                                                            \r\n  File \"/usr/local/lib/python2.7/dist-packages/myfitnesspal/cmdline.py\", line 46, in main                                                                                                     \r\n    COMMANDS[args.command[0]]['function'](args, *extra)                                                                                                                                       \r\n  File \"/usr/local/lib/python2.7/dist-packages/myfitnesspal/commands.py\", line 117, in day                                                                                                    \r\n    day = client.get_date(args.date)                                                                                                                                                          \r\n  File \"/usr/local/lib/python2.7/dist-packages/myfitnesspal/client.py\", line 342, in get_date                                                                                                 \r\n    water = self._get_water(document)                                                                                                                                                         \r\n  File \"/usr/local/lib/python2.7/dist-packages/myfitnesspal/client.py\", line 466, in _get_water                                                                                               \r\n    water_header = document.xpath(\"//div[@class='water-counter']/p/a\")[0]                                                                                                                     \r\nIndexError: list index out of range                                                                                                                                                           \r\nTraceback (most recent call last):                                                                                                                                                            \r\n  File \"/usr/local/bin/myfitnesspal\", line 9, in <module>                                                                                                                                     \r\n    load_entry_point('myfitnesspal==1.8.3', 'console_scripts', 'myfitnesspal')()                                                                                                              \r\n  File \"/usr/local/lib/python2.7/dist-packages/myfitnesspal/cmdline.py\", line 46, in main                                                                                                     \r\n    COMMANDS[args.command[0]]['function'](args, *extra)                                                                                                                                       \r\n  File \"/usr/local/lib/python2.7/dist-packages/myfitnesspal/commands.py\", line 117, in day                                                                                                    \r\n    day = client.get_date(args.date)                                                                                                                                                          \r\n  File \"/usr/local/lib/python2.7/dist-packages/myfitnesspal/client.py\", line 342, in get_date                                                                                                 \r\n    water = self._get_water(document)                                                                                                                                                         \r\n  File \"/usr/local/lib/python2.7/dist-packages/myfitnesspal/client.py\", line 466, in _get_water                                                                                               \r\n    water_header = document.xpath(\"//div[@class='water-counter']/p/a\")[0]                                                                                                                     \r\nIndexError: list index out of range "}}
{"actor":{"display_login":"edusteinhorst"}}