-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
Expected Behavior
Metrics should be shown after re-login
Actual Behavior
NoPlayerPositionSetException() after re-logging in
Output when issue occurred
2016-08-20 15:18:23,154 [PokemonGoBot] [INFO] [api_error] Session stale, re-logging in.
2016-08-20 15:18:23,171 [PokemonGoBot] [INFO] [login_started] Login procedure started.
Traceback (most recent call last):
File "pokecli.py", line 674, in <module>
main()
File "pokecli.py", line 176, in main
report_summary(bot)
File "pokecli.py", line 211, in report_summary
metrics.capture_stats()
File "pokemongo_bot\metrics.py", line 84, in capture_stats
response_dict = request.call()
File "pokemongo_bot\api_wrapper.py", line 217, in call
if not self.can_call():
File "pokemongo_bot\api_wrapper.py", line 118, in can_call
raise NoPlayerPositionSetException()
pgoapi.exceptions.NoPlayerPositionSetException
Steps to Reproduce
Get a stale session
Other Information
OS:
Windows 10
Branch:
dev
Git Commit:
cc3b4c9
Python Version:
2.7