{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1911","repository_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1911/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1911/comments","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1911/events","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/1911","id":168483089,"number":1911,"title":"Program stops after a while","user":{"login":"xterraforcex","id":20733645,"avatar_url":"https://avatars.githubusercontent.com/u/20733645?v=3","gravatar_id":"","url":"https://api.github.com/users/xterraforcex","html_url":"https://github.com/xterraforcex","followers_url":"https://api.github.com/users/xterraforcex/followers","following_url":"https://api.github.com/users/xterraforcex/following{/other_user}","gists_url":"https://api.github.com/users/xterraforcex/gists{/gist_id}","starred_url":"https://api.github.com/users/xterraforcex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xterraforcex/subscriptions","organizations_url":"https://api.github.com/users/xterraforcex/orgs","repos_url":"https://api.github.com/users/xterraforcex/repos","events_url":"https://api.github.com/users/xterraforcex/events{/privacy}","received_events_url":"https://api.github.com/users/xterraforcex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-30T19:28:10Z","updated_at":"2016-07-30T19:37:27Z","closed_at":null,"body":"Traceback (most recent call last):\r\n  File \"pokecli.py\", line 455, in <module>\r\n    main()\r\n  File \"pokecli.py\", line 68, in main\r\n    bot.tick()\r\n  File \"/home/xterraforcex/PokemonGo-Bot/pokemongo_bot/__init__.py\", line 84, in tick\r\n    if worker.work() == WorkerResult.RUNNING:\r\n  File \"/home/xterraforcex/PokemonGo-Bot/pokemongo_bot/cell_workers/incubate_eggs_worker.py\", line 29, in work\r\n    self._hatch_eggs()\r\n  File \"/home/xterraforcex/PokemonGo-Bot/pokemongo_bot/cell_workers/incubate_eggs_worker.py\", line 134, in _hatch_eggs\r\n    for pokemon in pokemon_data:\r\nUnboundLocalError: local variable 'pokemon_data' referenced before assignment\r\n\r\nwhat do i need to do to let it keep going"},"comment":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments/236385737","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/1911#issuecomment-236385737","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1911","id":236385737,"user":{"login":"sgitkene","id":11799843,"avatar_url":"https://avatars.githubusercontent.com/u/11799843?v=3","gravatar_id":"","url":"https://api.github.com/users/sgitkene","html_url":"https://github.com/sgitkene","followers_url":"https://api.github.com/users/sgitkene/followers","following_url":"https://api.github.com/users/sgitkene/following{/other_user}","gists_url":"https://api.github.com/users/sgitkene/gists{/gist_id}","starred_url":"https://api.github.com/users/sgitkene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgitkene/subscriptions","organizations_url":"https://api.github.com/users/sgitkene/orgs","repos_url":"https://api.github.com/users/sgitkene/repos","events_url":"https://api.github.com/users/sgitkene/events{/privacy}","received_events_url":"https://api.github.com/users/sgitkene/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T19:37:27Z","updated_at":"2016-07-30T19:37:27Z","body":"loop the command in run.sh\r\nor copy the line that starts with eval a few times"}}
{"actor":{"display_login":"sgitkene"}}