Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot crash when using movetomap #4113

Closed
Tagada22 opened this issue Aug 16, 2016 · 7 comments
Closed

Bot crash when using movetomap #4113

Tagada22 opened this issue Aug 16, 2016 · 7 comments

Comments

@Tagada22
Copy link

Hello i have problems with my bot

My bot working great.

I want update the bot, so

Git pull
Pip install -r requirements.txt

Successful

Virtualenv .
Source bon/activate
Python pokecli.py

Bot launch good , transfert my pokemon .

When movetomap come my bot crash.

2016-08-16 23:18:54,641 [TransferPokemon] [INFO] [future_pokemon_release] Releasing Electrode [CP 1028] [IV 0.49] based on rule: CP < 0 OR IV < 0.9
2016-08-16 23:18:55,055 [TransferPokemon] [INFO] [pokemon_release] Exchanged Electrode [CP 1028] [IV 0.49] for candy.
2016-08-16 23:18:56,448 [TransferPokemon] [INFO] [future_pokemon_release] Releasing Weezing [CP 1414] [IV 0.36] based on rule: CP < 0 OR IV < 0.9
2016-08-16 23:18:56,803 [TransferPokemon] [INFO] [pokemon_release] Exchanged Weezing [CP 1414] [IV 0.36] for candy.
2016-08-16 23:18:59,465 [TransferPokemon] [INFO] [future_pokemon_release] Releasing Rhydon [CP 863] [IV 0.73] based on rule: CP < 0 OR IV < 0.9
2016-08-16 23:18:59,848 [TransferPokemon] [INFO] [pokemon_release] Exchanged Rhydon [CP 863] [IV 0.73] for candy.
2016-08-16 23:19:02,019 [TransferPokemon] [INFO] [future_pokemon_release] Releasing Seaking [CP 930] [IV 0.6] based on rule: CP < 0 OR IV < 0.9
2016-08-16 23:19:02,364 [TransferPokemon] [INFO] [pokemon_release] Exchanged Seaking [CP 930] [IV 0.6] for candy.
2016-08-16 23:19:06,485 [MoveToMapPokemon] [INFO] [move_to_map_pokemon_updated_map] Updated PokemonGo-Map to -33.8611061584, 151.221225983
2016-08-16 23:19:06,777 [ cli] [INFO]
2016-08-16 23:19:06,778 [ cli] [INFO] Ran for 0:01:32
2016-08-16 23:19:06,778 [ cli] [INFO] Total XP Earned: 3490794 Average: 137277665.94/h
2016-08-16 23:19:06,779 [ cli] [INFO] Travelled 685.57km
2016-08-16 23:19:06,779 [ cli] [INFO] Visited 15369 stops
2016-08-16 23:19:06,779 [ cli] [INFO] Encountered 12847 pokemon, 9850 caught, 28 released, 743 evolved, 145 never seen before
2016-08-16 23:19:06,779 [ cli] [INFO] Threw 18120 pokeballs
2016-08-16 23:19:06,780 [ cli] [INFO] Earned 86847 Stardust
2016-08-16 23:19:06,780 [ cli] [INFO]
2016-08-16 23:19:06,780 [ cli] [INFO] Highest CP Pokemon:
2016-08-16 23:19:06,780 [ cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 626, in
main()
File "pokecli.py", line 104, in main
bot.tick()
File "/home/PokemonGo-Bot/pokemongo_bot/init.py", line 498, in tick
if worker.work() == WorkerResult.RUNNING:
File "/home/PokemonGo-Bot/pokemongo_bot/cell_workers/move_to_map_pokemon.py", line 248, in work
pokemon_list = self.get_pokemon_from_map()
File "/home/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'
(PokemonGo-Bot) root@vps302994:/home/PokemonGo-Bot#

Bot working great 5 minute Before , have you got a solution please ?

Thanks

@ebbrey
Copy link

ebbrey commented Aug 16, 2016

Got the same issue and error. Was hoping it wasn't something I did wrong.

@Tagada22
Copy link
Author

I have this lssue with the lastest update

@ebbrey
Copy link

ebbrey commented Aug 16, 2016

Yeah same.. pulled an hour ago to get some new features. Then it happens as soon as move to pokemon task starts.

@mvrska
Copy link
Contributor

mvrska commented Aug 16, 2016

will be fixed in #4115, sorry for the inconvenience

@jane0815
Copy link

When can we pull new update to fix it? Have the same problem.

@mvrska
Copy link
Contributor

mvrska commented Aug 16, 2016

once my pull request is approved by the mod team... you can revert to the previous state if you desperately need it.

FollowCluster fix is in that pull request as well ;)

@mvrska
Copy link
Contributor

mvrska commented Aug 17, 2016

should be fixed @jane0815 , please check

@k4n30 k4n30 closed this as completed Aug 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants