You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Confirmed here, there's a double exception during the summary report, original exception is :
File "./pokecli.py", line 677, in
main()
File "./pokecli.py", line 118, in main
bot.tick()
File "./pokemongo_bot/init.py", line 538, in tick
self.check_session(self.position[0:2])
File "./pokemongo_bot/init.py", line 690, in check_session
self.login()
File "./pokemongo_bot/init.py", line 714, in login
str(self.config.password)):
File "./pokemongo_bot/api_wrapper.py", line 77, in login
ret_value = PGoApi.login(self, *args)
File "pgobot/src/pgoapi/pgoapi/pgoapi.py", line 179, in login
response = self.app_simulation_login()
File "pgobot/src/pgoapi/pgoapi/pgoapi.py", line 156, in app_simulation_login
response = request.call()
File "pgobot/src/pgoapi/pgoapi/pgoapi.py", line 215, in call
raise NoPlayerPositionSetException()
pgoapi.exceptions.NoPlayerPositionSetException
Expected Behavior
Metrics should be shown after re-login
Actual Behavior
NoPlayerPositionSetException() after re-logging in
Output when issue occurred
Steps to Reproduce
Get a stale session
Other Information
OS:
Windows 10
Branch:
dev
Git Commit:
cc3b4c9
Python Version:
2.7
The text was updated successfully, but these errors were encountered: