AttributeError: 'PokemonGoBot' object has no attribute 'hunter_locked_target'
Expected Behavior
Bot running ;)
Actual Behavior
Bot not running ;)
Your FULL config.json (remove your username, password, gmapkey and any other private info)
Pretty much default config.json (derived from config.json.example), except for some threshold levels.
Output when issue occurred
2017-02-08 19:32:24,920 [ cli] [INFO] PokemonGO Bot v1.0
2017-02-08 19:32:24,934 [ cli] [INFO] commit: fda3ab8d
2017-02-08 19:32:24,938 [ cli] [INFO] Configuration initialized
...
[2017-02-08 19:32:33] [PokemonGoBot] [INFO] #175 Togepi
[2017-02-08 19:32:33] [PokemonGoBot] [INFO] #239 Elekid
[2017-02-08 19:32:33] [PokemonGoBot] [INFO]
[2017-02-08 19:32:33] [RandomAlivePause] [INFO] Next random alive pause at 19:39:42, for a duration of 0:02:45
[2017-02-08 19:32:33] [RandomPause] [INFO] Next random pause at 19:43:46, for a duration of 0:04:03
[2017-02-08 19:32:33] [RecycleItems] [INFO] Next forced item recycle at 19:34:45
[2017-02-08 19:32:34] [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
[2017-02-08 19:32:34] [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
[2017-02-08 19:32:34] [PokemonGoBot] [INFO] Starting bot...
[2017-02-08 19:32:35] [CollectLevelUpReward] [INFO] Received level up reward:
...
[2017-02-08 19:32:35] [ cli] [INFO]
[2017-02-08 19:32:35] [ cli] [INFO] Ran for 0:00:10
[2017-02-08 19:32:35] [ cli] [INFO] Total XP Earned: 0 Average: 0.00/h
[2017-02-08 19:32:35] [ cli] [INFO] Travelled 0.00km
[2017-02-08 19:32:35] [ cli] [INFO] Visited 0 stops
[2017-02-08 19:32:35] [ cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before ()
[2017-02-08 19:32:35] [ cli] [INFO] Threw 0 pokeballs
[2017-02-08 19:32:35] [ cli] [INFO] Earned 0 Stardust
[2017-02-08 19:32:35] [ cli] [INFO] Hatched eggs 0
[2017-02-08 19:32:35] [ cli] [INFO] Next egg hatches in 5.00 km
[2017-02-08 19:32:35] [ cli] [INFO]
[2017-02-08 19:32:35] [ cli] [INFO] Highest CP Pokemon:
[2017-02-08 19:32:35] [ cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 865, in
Steps to Reproduce
~/PokemonGo-Bot$ ./run.sh configs/config.json configs/auth.json
Other Information
OS: Ubuntu 16.04 Branch: master Git Commit: fda3ab8d Python Version: Python 2.7.12
Occured right after updating to last commit.
Any other relevant files/configs (eg: path files)
Nevermind, modifying catch_pokemon.py according to #5904 solves it.