-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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: returns #1490
Comments
Run git log -n 1 --pretty=format:"%H"' and send the output, you didn't specify it in the post. |
Updated |
Most likely a problem with Pokemon GO servers being down, it's happening to multiple people. Assuming your output is a little bit different than #1491 because of you being on master branch. |
I'm getting this same error. I updated the requirements and still nothing. |
I switched to Dev branch and update requirement and get the new config and it work |
Please close this issue then. To fix: |
Well okay, it mean it is only fixed on the dev branch though, master is still messed up. But if you want me to to close it I will. |
Expected Behavior
Not crashing
Actual Behavior
Crashing
Steps to Reproduce
Just run the bot
Other Information
OS: Ubuntu 16
From git log:
ec2b7ad
Traceback (most recent call last):
File "pokecli.py", line 220, in
main()
File "pokecli.py", line 206, in main
bot.start()
File "/home/jacqueline/Documents/Projects/PokemonGo-Bot/pokemongo_bot/init.py", line 31, in start
self._setup_api()
File "/home/jacqueline/Documents/Projects/PokemonGo-Bot/pokemongo_bot/init.py", line 186, in _setup_api
self.update_inventory()
File "/home/jacqueline/Documents/Projects/PokemonGo-Bot/pokemongo_bot/init.py", line 208, in update_inventory
response = self.api.call()
File "/home/jacqueline/Documents/Projects/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 80, in call
response = request.request(api_endpoint, self._req_method_list, player_position)
File "/home/jacqueline/Documents/Projects/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 93, in request
response_dict = self._parse_main_response(response, subrequests)
File "/home/jacqueline/Documents/Projects/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 201, in _parse_main_response
response_proto_dict = self._parse_sub_responses(response_proto, subrequests, response_proto_dict)
File "/home/jacqueline/Documents/Projects/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 208, in _parse_sub_responses
del response_proto_dict['returns']
KeyError: 'returns'
Saw another person with the same issue that seemed to be solved by getting the latest commit and reinstall requirement, already done that but still doesn't work
The text was updated successfully, but these errors were encountered: