-
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
Stops at 1 hour #3075
Comments
@icecubeice i had the same problem. Try git pull, it solved my problem |
Yes, this is going to be fixed in a pull request for the Pokemon Go API. When it's applied, you'll want to to a pip install -r requirements.txt to pull the latest version. But as of right now that change hasn't been merged to master so it won't fix the issue just yet. To fix it now instead of waiting for the PR:
_(Line 94 is just below: "self.log.debug('Google Access Token: %s...', self.access_token[:25])") That should fix it. The API forgot to return the token. |
Soo just add return before self? "self.log.debug('Google Access Token: %s...', self._access_token[:25]) or? Sorry that i don't understand that right away, im not that into coding. |
@Nathanian Here |
Thank you so much :) |
For Linux users with same problem:
Just save it on a .sh file(I named it re-run.sh) and make it runnable by (sudo chmod a+x re-run.sh), then run it . Your bot runs again and again infinitely. |
I have the return self.access_token but it wont go beyond 1 h |
tried that solution, but didnt work. Still crashing after 1 hour :( |
Removed and updated pgoapi. 1+ hour running right now. No crash. Will update if it crashes (or not). Followed by Traceback (most recent call last): |
Well let's all just wait for the PR |
As there have been many updates since this issue was posted, I'm assuming this issue has been resolved. If I'm wrong, please reopen. |
The bot works perfectly fine but it stops after about 1hour, is there a way to extend this?
Other Information
OS: Windows 10
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
Python Version: (run 'python -V' and paste it here)
The text was updated successfully, but these errors were encountered: