TBTerra / spawnScan

scanner specialized for finding spawn points in pokemon go
116 stars 36 forks source link

Errors while running spawn.py #47

Open Korzakov opened 8 years ago

Korzakov commented 8 years ago

Getting an error while running on my raspberry pi. I thought running scan from 2 hours were no problem, reading the notes on the readme. I have been running a smaller scan with success.

This is the check.py result:

python check.py total of 2142 steps covering 20.5226852391 km^2 with 30 worker(s), doing 50 scans each, would take 2 hour(s)

When running the spawn.py I get many errors. See attached logfile.

What is the problem? spawnscan.txt

leclaida commented 8 years ago

there is an issue somewhere in the login for accessing the pgoapi, at least it looks that way to me. double check your username/passwords and make sure these accts have had tos accepted.

Korzakov commented 8 years ago

I eis check all accounts with tos.py. Earlier scan on smaller area did function. Strange thing is, I let the script running, and got some spawns. Only from the most upper area from the rectangle. Could this be a resource issue on the raspberry?

leclaida commented 8 years ago

should not be a resource issue on the pi.

your error log shows there is some connection error when accessing the pgoapi. from your sypmtoms (works on small scan, upper area of large rectangle also works) i think it may have to do with spamming the server with login requests. the first get through but the latter may be throttled.

i've never actually used this script, so i'm not sure how it handles 30 workers at once. it looks like there is code for retrying logins when throttled though. also, pgoapi raises an exception when you are being throttled yet for some reason i don't think it is being raised here. so i'm not convinced on what the issue is.