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
{{ message }}
This repository was archived by the owner on Oct 19, 2021. It is now read-only.
When the program is run first time it logs in and scans for Pokemon as expected. It would be expected to continue doing so subsequently.
Current Behavior
However it resets login_session after each step of the search (found by printing debug info), meaning that it has to re-login before the second run. This re-login always fails with "Wrong username/password" causing the script to grind to a halt.
Possible Solution
I've implemented a workaround by not resetting login_session when the try block fails, but I assume this might cause unanticipated issues down the road.
Steps to Reproduce (for bugs)
Create a PTC account
Set up program
Run for at least two iterations
Failure
Your Environment
Python 2.7 on Debian (Jessie). I have a hunch this might be due to the use of PTC accounts rather than google accounts, but I have no spare google accounts to test with. Behaviour has been observed using both an existing and a newly created PTC account.
Expected Behavior
When the program is run first time it logs in and scans for Pokemon as expected. It would be expected to continue doing so subsequently.
Current Behavior
However it resets login_session after each step of the search (found by printing debug info), meaning that it has to re-login before the second run. This re-login always fails with "Wrong username/password" causing the script to grind to a halt.
Possible Solution
I've implemented a workaround by not resetting login_session when the try block fails, but I assume this might cause unanticipated issues down the road.
Steps to Reproduce (for bugs)
Your Environment
Python 2.7 on Debian (Jessie). I have a hunch this might be due to the use of PTC accounts rather than google accounts, but I have no spare google accounts to test with. Behaviour has been observed using both an existing and a newly created PTC account.