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

KeyError: 'GET_INVENTORY' (full backpack/inventory?) #1633

Closed
fulgidus opened this issue Jul 29, 2016 · 2 comments
Closed

KeyError: 'GET_INVENTORY' (full backpack/inventory?) #1633

fulgidus opened this issue Jul 29, 2016 · 2 comments

Comments

@fulgidus
Copy link

Expected Behavior

Keep running (by deleting items himself I think, but I'm not sure)

Actual Behavior

Crashing.
To temp fix it you have to open the actual Pokemon Go app and delete an item

Steps to Reproduce

Not sure, probably when backpack fills up, I tried deleting a loto of stuff and it seems to be more stable (for now)

Trace:

Traceback (most recent call last):
  File "pokecli.py", line 220, in <module>
    main()
  File "pokecli.py", line 206, in main
    bot.start()
  File "/Users/myMacUser/Documents/Projects/PokemonGo-Bot/pokemongo_bot/__init__.py", line 31, in start
    self._setup_api()
  File "/Users/myMacUser/Documents/Projects/PokemonGo-Bot/pokemongo_bot/__init__.py", line 159, in _setup_api
    balls_stock = self.pokeball_inventory()
  File "/Users/myMacUser/Documents/Projects/PokemonGo-Bot/pokemongo_bot/__init__.py", line 234, in pokeball_inventory
    inventory_dict = inventory_req['responses']['GET_INVENTORY'][
KeyError: 'GET_INVENTORY'

Other Information

OS: Mac El Capitan 10.11.6 (15G31)

Python: 2.7.12
Pip: 8.1.2
Virtualenv: 15.0.2

Git Commit: ec2b7ad (ec2b7add95da6bc580035d8d4c472c1d41e439a6)

@Lunik
Copy link

Lunik commented Jul 29, 2016

Duplicated #1491

@fulgidus fulgidus reopened this Jul 29, 2016
@fulgidus
Copy link
Author

Solved by: #1499

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants