{"action":"created","issue":{"url":"https://api.github.com/repos/leandrotoledo/python-telegram-bot/issues/7","labels_url":"https://api.github.com/repos/leandrotoledo/python-telegram-bot/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/leandrotoledo/python-telegram-bot/issues/7/comments","events_url":"https://api.github.com/repos/leandrotoledo/python-telegram-bot/issues/7/events","html_url":"https://github.com/leandrotoledo/python-telegram-bot/issues/7","id":94727338,"number":7,"title":"Uncaught exception","user":{"login":"ethene","id":57169,"avatar_url":"https://avatars.githubusercontent.com/u/57169?v=3","gravatar_id":"","url":"https://api.github.com/users/ethene","html_url":"https://github.com/ethene","followers_url":"https://api.github.com/users/ethene/followers","following_url":"https://api.github.com/users/ethene/following{/other_user}","gists_url":"https://api.github.com/users/ethene/gists{/gist_id}","starred_url":"https://api.github.com/users/ethene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethene/subscriptions","organizations_url":"https://api.github.com/users/ethene/orgs","repos_url":"https://api.github.com/users/ethene/repos","events_url":"https://api.github.com/users/ethene/events{/privacy}","received_events_url":"https://api.github.com/users/ethene/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-13T13:58:30Z","updated_at":"2015-07-13T14:40:12Z","closed_at":null,"body":"  File \"py-bot.py\", line 102, in <module>\r\n    updates = bot.getUpdates(offset=current_offset, limit=100, timeout=60)\r\n  File \"/Library/Python/2.7/site-packages/telegram/bot.py\", line 537, in getUpdates\r\n    return [Update.de_json(x) for x in data]\r\n  File \"/Library/Python/2.7/site-packages/telegram/update.py\", line 15, in de_json\r\n    message = Message.de_json(data['message'])\r\n  File \"/Library/Python/2.7/site-packages/telegram/message.py\", line 139, in de_json\r\n    chat=chat,\r\nUnboundLocalError: local variable 'chat' referenced before assignment"},"comment":{"url":"https://api.github.com/repos/leandrotoledo/python-telegram-bot/issues/comments/120952442","html_url":"https://github.com/leandrotoledo/python-telegram-bot/issues/7#issuecomment-120952442","issue_url":"https://api.github.com/repos/leandrotoledo/python-telegram-bot/issues/7","id":120952442,"user":{"login":"leandrotoledo","id":615742,"avatar_url":"https://avatars.githubusercontent.com/u/615742?v=3","gravatar_id":"","url":"https://api.github.com/users/leandrotoledo","html_url":"https://github.com/leandrotoledo","followers_url":"https://api.github.com/users/leandrotoledo/followers","following_url":"https://api.github.com/users/leandrotoledo/following{/other_user}","gists_url":"https://api.github.com/users/leandrotoledo/gists{/gist_id}","starred_url":"https://api.github.com/users/leandrotoledo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandrotoledo/subscriptions","organizations_url":"https://api.github.com/users/leandrotoledo/orgs","repos_url":"https://api.github.com/users/leandrotoledo/repos","events_url":"https://api.github.com/users/leandrotoledo/events{/privacy}","received_events_url":"https://api.github.com/users/leandrotoledo/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T14:40:12Z","updated_at":"2015-07-13T14:40:12Z","body":"Hey @ethene,\r\nThank you for your bug report.\r\nThis issue has been fixed on commit 59d55df99ed5025e2f79920a845fb1f1415857ac\r\nPlease have your lib upgraded, if on pip:\r\n\r\npip install python-telegram-api --upgrade\r\n\r\nLet us know if it worked. :)"}}