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

[close]KeyError: 'fort_id' #1067

Closed
ZgrK opened this issue Jul 26, 2016 · 9 comments
Closed

[close]KeyError: 'fort_id' #1067

ZgrK opened this issue Jul 26, 2016 · 9 comments
Labels

Comments

@ZgrK
Copy link
Contributor

ZgrK commented Jul 26, 2016

KeyError: 'fort_id'

After #1039 change i update my dev version now my problem is that .

screen shot 2016-07-27 at 12 48 52 am

### Other Information

OS: Ubuntu
Git Commit: 9c99cc0

@undg
Copy link

undg commented Jul 26, 2016

same here
`

[23:14:59] Starting PokemonGo Bot....
[23:14:59] Scanning area for objects....
[23:14:59] Walking from (51.500575, -0.127703) to [51.500575, -0.127703] 0.00km
[████████████████████████████████████████] 100%
[23:15:01] Attempting to evolve all pokemons ...
[23:15:04] Something rustles nearby!
Traceback (most recent call last):
File "./pokecli.py", line 246, in
main()
File "./pokecli.py", line 237, in main
bot.take_step()
File "/home/undg/pokemon/bot/PokemonGo-Bot/pokemongo_bot/init.py", line 46, in take_step
self.work_on_cell(cell, location)
File "/home/undg/pokemon/bot/PokemonGo-Bot/pokemongo_bot/init.py", line 189, in work_on_cell
if self.catch_pokemon(pokemon) == PokemonCatchWorker.NO_POKEBALLS:
File "/home/undg/pokemon/bot/PokemonGo-Bot/pokemongo_bot/init.py", line 337, in catch_pokemon
return_value = worker.work()
File "/home/undg/pokemon/bot/PokemonGo-Bot/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 31, in work
response_dict = self.create_encounter_api_call()
File "/home/undg/pokemon/bot/PokemonGo-Bot/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 400, in create_encounter_api_call
fort_id = self.pokemon['fort_id']
KeyError: 'fort_id'
`

@ZgrK
Copy link
Contributor Author

ZgrK commented Jul 26, 2016

I think who change it on other Issues #1045 #1046 maybe have same problem

@aslafy-z
Copy link
Contributor

Commit just been reverted, please repull. #1065

@ZgrK
Copy link
Contributor Author

ZgrK commented Jul 26, 2016

@aslafy-z Thank you when i change to head 1056 working for now ;)

@ZgrK
Copy link
Contributor Author

ZgrK commented Jul 26, 2016

@aslafy-z :( after visit pokestore now this problem :(

screen shot 2016-07-27 at 1 31 59 am

@aslafy-z
Copy link
Contributor

aslafy-z commented Jul 26, 2016

@Zgrkaralar This is another isue due to your outdated config file. Recreate it from configs/config.json.example

"item_filter" sould be a object like:
{ "1": { "keep": 100 }, "101": { "keep": 10 }, "102": { "keep": 30 }, "103": { "keep": 30 }, "201": { "keep": 30 }, "701": { "keep": 100 } }

@ZgrK
Copy link
Contributor Author

ZgrK commented Jul 26, 2016

screen shot 2016-07-27 at 2 03 48 am

Now problem is this

@aslafy-z
Copy link
Contributor

Please open another issue, and someone close this one please.

@PokemonGoF PokemonGoF locked and limited conversation to collaborators Jul 26, 2016
@ZgrK ZgrK changed the title KeyError: 'fort_id' [close]KeyError: 'fort_id' Jul 26, 2016
@fredrik-hellmangroup
Copy link
Contributor

Commit has been reverted, please repull. #1065

hoanghuynh pushed a commit to hoanghuynh/PokemonGo-Bot that referenced this issue Sep 28, 2016
…oF#1067)

* Read accounts from CSV file with -ac/--accountcsv parameter

* Fix default value for auth_service

* Update teh docs

* Whoops

p.s from thunderfox: i hope this doesn't break stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants