-
Notifications
You must be signed in to change notification settings - Fork 43
Loop stopping data collection issue persists. #16
Comments
Yep I just tested again and after about 20 minutes, Pokemon were no longer being received from the server. |
try changing the get_token function in main.py from....
to just...
been running for about a half hour although there is probably a better solution |
Just to be sure I'd say if you're good after an hour or two then it's On Thu, Jul 21, 2016, 11:02 PM Aaron Renzelmann notifications@github.com
|
jk i dont think that worked. |
@xcheneric i have it at 5. it looks like in the process_step function its hitting the except AttributeError and breaking. someone more skilled in python might be able to figure this out a lot quicker than me hah. but thats what ive got so far |
Personally, there's no point in having notifications if this can't run longer than 30 minutes.
with
and it seems to be working. I'll check back after lunch. Nevermind: I'm done. The parent repo seems to be way different at this point. |
@HMPoweredMan nice! i actually just grabbed the example.py source from https://github.com/AHAAAAAAA/PokemonGo-Map and copied the get_args function from this repo and have it running now, can check back in if it works. on that other repo, the last commit to the example.py file was "fix script failing after 30 min or so problem" so whatever the diffs are between that file and the main.py in this repo are would clear things up too. |
@renzy That works, but you'll have to figure out how to re-add the notification bit to your updated main.py |
There was some changes to the fullmap_template.html from that fix, not sure if it impacts this though. |
@HMPoweredMan yeah i just imported notifier & added after pokemons[poke.SpawnPointId] in the for loop...
|
if you comment out @memoize from main.py, it starts a new login every time it loops, which seems to solve the problem. |
@endeavor7 ahhh, thank you. that makes sense |
Merged new AHAAAAAAAA updates |
@jxmorris12 good man, thank you! friend of mine is running this too on a windows box, i think he was having encoding issues within notifier.py. im not sure if this made any difference but right after the reload(sys) should sys.setdefaultencoding('utf8') be sys.setdefaultencoding('utf-8') ..? running fine on my ubuntu boxes, so idk i dont really have a way to test. |
I have the new version working, still stops functioning after 30 minutes. |
It's allegedly fixed in the develope branch of the parent. Something to do with API token expirinf |
yeah it still stops after about 30 mins |
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: