Skip to content

Crash after sync dev in move_to_map_pokemon.py #4125

@Gurzeh

Description

@Gurzeh

same as issue #4124

Expected Behavior

Actual Behavior

after start and catching Pokemon, a crash occurs in line:
/PokemonGo-Bot/pokemongo_bot/cell_workers/move_to_map_pokemon.py", line 147, in get_pokemon_from_map
if pokemon['dist'] > ((pokemon['expire'] - now) * mean_walk_speed) and not self.config['snipe']:
KeyError: 'expire'

Your FULL config.json (remove your username, password, gmapkey and any other private info)

http://pastebin.com/JTUPEe98

Output when issue occurred

http://pastebin.com/nQPhRc8V

Steps to Reproduce

started run.sh

Other Information

OS: OSX Maverick
Branch: dev
Git Commit: aaaa480
Python Version: Python 2.7.12

Short Description

Possible solution

How it would help others

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions