PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

GET_INVENTORY Error

Open Distent opened this issue 10 years ago • 4 comments

python pokecli.py [2016-07-30 16:20:36] [x] PokemonGO Bot v1.0 [2016-07-30 16:20:36] [x] Configuration initialized [2016-07-30 16:20:36] [2016-07-30 16:20:36] [x] Address found: 200 Santa Monica Pier Santa monica ca 90401 [2016-07-30 16:20:36] [x] Position in-game set as: (34.0098476, -118.4964629, 0.0) [2016-07-30 16:20:36] Traceback (most recent call last): File "pokecli.py", line 220, in main() File "pokecli.py", line 206, in main bot.start() File "/Users/Willdazzle/PokemonGo-Bot/pokemongo_bot/init.py", line 31, in start self._setup_api() File "/Users/Willdazzle/PokemonGo-Bot/pokemongo_bot/init.py", line 159, in _setup_api balls_stock = self.pokeball_inventory() File "/Users/Willdazzle/PokemonGo-Bot/pokemongo_bot/init.py", line 234, in pokeball_inventory inventory_dict = inventory_req['responses']['GET_INVENTORY'][ KeyError: 'GET_INVENTORY'

It gives me an error when I try to do python pokecli.py

Distent avatar Jul 30 '16 20:07 Distent

Download the newest dev version. This fixes it.

PraeceptorXS avatar Jul 30 '16 20:07 PraeceptorXS

This may sound stupid...but how do I download the latest dev version...

Distent avatar Jul 30 '16 20:07 Distent

I suggest to do a clean install, when you clone the repo, you have to change branch master to dev : git clone --recursive -b dev https://github.com/PokemonGoF/PokemonGo-Bot

antoineneff avatar Jul 30 '16 20:07 antoineneff

Thank you that works,

Distent avatar Jul 30 '16 22:07 Distent