{"action":"created","issue":{"url":"https://api.github.com/repos/StudioQi/jeto/issues/54","labels_url":"https://api.github.com/repos/StudioQi/jeto/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/StudioQi/jeto/issues/54/comments","events_url":"https://api.github.com/repos/StudioQi/jeto/issues/54/events","html_url":"https://github.com/StudioQi/jeto/issues/54","id":84097149,"number":54,"title":"Status: index out of range","user":{"login":"abondis","id":262635,"avatar_url":"https://avatars.githubusercontent.com/u/262635?v=3","gravatar_id":"","url":"https://api.github.com/users/abondis","html_url":"https://github.com/abondis","followers_url":"https://api.github.com/users/abondis/followers","following_url":"https://api.github.com/users/abondis/following{/other_user}","gists_url":"https://api.github.com/users/abondis/gists{/gist_id}","starred_url":"https://api.github.com/users/abondis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abondis/subscriptions","organizations_url":"https://api.github.com/users/abondis/orgs","repos_url":"https://api.github.com/users/abondis/repos","events_url":"https://api.github.com/users/abondis/events{/privacy}","received_events_url":"https://api.github.com/users/abondis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-02T16:35:48Z","updated_at":"2015-06-02T16:46:30Z","closed_at":null,"body":"in the loop models/vagrant.py:194 item is sometimes empty so -1 gives an 'index out of range'\r\nmaybe item[-1:] could work\r\n\r\n```python\r\n        for result in results:\r\n            result = result.replace('\\', ' ')\r\n            if ',' in result and len(item) > 0:\r\n                formatted.append(item)\r\n                item = []\r\n\r\n            if ',' in result:\r\n                try:\r\n                    item = result.split(',')\r\n                    item[-1] = item[-1].replace('%!(VAGRANT_COMMA)', ',')\r\n                    formatted.append(item)\r\n                except:\r\n                    app.logger.debug(\"INDEX OOR: exception {}\".format(item))\r\n            else:\r\n                try:\r\n                    result = result.replace('%!(VAGRANT_COMMA)', ',')\r\n                    item[-1] = item[-1] + result\r\n                except:\r\n                    app.logger.debug(\"INDEX OOR: exception{}\".format(item))\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/StudioQi/jeto/issues/comments/108011709","html_url":"https://github.com/StudioQi/jeto/issues/54#issuecomment-108011709","issue_url":"https://api.github.com/repos/StudioQi/jeto/issues/54","id":108011709,"user":{"login":"abondis","id":262635,"avatar_url":"https://avatars.githubusercontent.com/u/262635?v=3","gravatar_id":"","url":"https://api.github.com/users/abondis","html_url":"https://github.com/abondis","followers_url":"https://api.github.com/users/abondis/followers","following_url":"https://api.github.com/users/abondis/following{/other_user}","gists_url":"https://api.github.com/users/abondis/gists{/gist_id}","starred_url":"https://api.github.com/users/abondis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abondis/subscriptions","organizations_url":"https://api.github.com/users/abondis/orgs","repos_url":"https://api.github.com/users/abondis/repos","events_url":"https://api.github.com/users/abondis/events{/privacy}","received_events_url":"https://api.github.com/users/abondis/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T16:46:30Z","updated_at":"2015-06-02T16:46:30Z","body":"seems not, but catching the exception does the trick for now. Not sure what could be the right solution..."}}