{"action":"opened","issue":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2146","repository_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2146/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2146/comments","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2146/events","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/2146","id":168540396,"number":2146,"title":"AttributeError: 'NoneType' object has no attribute 'get'","user":{"login":"socialconquest","id":3794623,"avatar_url":"https://avatars.githubusercontent.com/u/3794623?v=3","gravatar_id":"","url":"https://api.github.com/users/socialconquest","html_url":"https://github.com/socialconquest","followers_url":"https://api.github.com/users/socialconquest/followers","following_url":"https://api.github.com/users/socialconquest/following{/other_user}","gists_url":"https://api.github.com/users/socialconquest/gists{/gist_id}","starred_url":"https://api.github.com/users/socialconquest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socialconquest/subscriptions","organizations_url":"https://api.github.com/users/socialconquest/orgs","repos_url":"https://api.github.com/users/socialconquest/repos","events_url":"https://api.github.com/users/socialconquest/events{/privacy}","received_events_url":"https://api.github.com/users/socialconquest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-31T21:54:29Z","updated_at":"2016-07-31T21:54:29Z","closed_at":null,"body":"### Expected Behavior\r\nCatch a pokemon\r\n\r\n### Actual Behavior\r\nBot runs until a pokemon appears, then shuts down:\r\n\r\n```\r\n[16:49:43]  A Wild Rattata appeared! [CP 284] [Potential 0.38] \r\n[16:49:43] IV [Stamina/Attack/Defense] = [8/5/4]\r\nTraceback (most recent call last):\r\n  File \"pokecli.py\", line 465, in <module>\r\n    main()\r\n  File \"pokecli.py\", line 70, in main\r\n    bot.tick()\r\n  File \"/home/cq/Desktop/pkmn/PokemonGo-Bot/pokemongo_bot/__init__.py\", line 86, in tick\r\n    if worker.work() == WorkerResult.RUNNING:\r\n  File \"/home/cq/Desktop/pkmn/PokemonGo-Bot/pokemongo_bot/cell_workers/catch_visible_pokemon.py\", line 24, in work\r\n    return self.catch_pokemon(self.bot.cell['catchable_pokemons'][0])\r\n  File \"/home/cq/Desktop/pkmn/PokemonGo-Bot/pokemongo_bot/cell_workers/catch_visible_pokemon.py\", line 36, in catch_pokemon\r\n    return_value = worker.work()\r\n  File \"/home/cq/Desktop/pkmn/PokemonGo-Bot/pokemongo_bot/cell_workers/pokemon_catch_worker.py\", line 71, in work\r\n    if not self.should_capture_pokemon(pokemon_name, cp, pokemon_potential, response_dict):\r\n  File \"/home/cq/Desktop/pkmn/PokemonGo-Bot/pokemongo_bot/cell_workers/pokemon_catch_worker.py\", line 315, in should_capture_pokemon\r\n    cp_iv_logic = catch_config.get('logic')\r\nAttributeError: 'NoneType' object has no attribute 'get'\r\n```\r\n\r\n### Steps to Reproduce\r\n```\r\ngit reset --hard\r\ngit pull -f\r\npip install --upgrade -r requirements.txt\r\n```\r\nRun the bot and wait for a pokemon to appear.\r\n\r\n\r\n### Other Information\r\nOS: Ubuntu 14.04\r\nGit Commit: c01839d6fed4f8d3a561cdfc8baf661137e3c281\r\nPython Version: 2.7.6\r\n"}}
{"actor":{"display_login":"socialconquest"}}