PGO-mapscan-opt icon indicating copy to clipboard operation
PGO-mapscan-opt copied to clipboard

Freezes during plan scan

Open Coalado opened this issue 8 years ago • 9 comments

Sometimes during plan scan, the scanner suddently freezes and does nothing. There is no error message or stacktrace.

His last words:

[+] Login refresh. + Weedle visible for 144 seconds (4481m NE from you) [+] Login refresh. [+] Login refresh. [+] Login refresh. [+] Login refresh. [+] Login refresh. + Weedle visible for 378 seconds (4624m NW from you) [+] Login refresh. + Weedle visible for 718 seconds (4362m NW from you) + Rattata visible for 269 seconds (4364m NW from you) + Weedle visible for 695 seconds (4395m NW from you) + Pidgey visible for 589 seconds (4352m NW from you) + Pidgey visible for 695 seconds (4376m NW from you) + Rattata visible for 234 seconds (4449m NW from you) + Rattata visible for 11 seconds (4396m NW from you) + Paras visible for 585 seconds (4399m NW from you) [+] Login refresh. [+] Login refresh. + Nidoran (m) visible for 648 seconds (4842m NW from you) [+] Login refresh. [+] Login refresh. [+] Login refresh. [+] Login refresh. [+] Login refresh. [+] Login refresh. [+] Login refresh. [+] Login refresh. [+] Login refresh. + Rattata visible for 901 seconds (4632m NW from you) [+] Login refresh. [+] Login refresh. [94] auth/token error, refreshing login... + Oddish visible for 901 seconds (6739m NW from you) [96] auth/token error, refreshing login...

Coalado avatar Sep 29 '16 06:09 Coalado

Are there any kinds of bugs in the messages before somewhere?

seikur0 avatar Sep 29 '16 11:09 seikur0

The Login isses #262 after startup But it finished 2 plans until it freezed

Btw: it would be greta to add Time/Date to the std out.

Coalado avatar Sep 29 '16 12:09 Coalado

I get this problem if I try to increase my scan range. I have not been able to finish a 2000 m scan. I can only get learn files from ~1000 m scans.

Edit: I got it to work by letting the console alone for the whole hour (didn't even run the server). I kept scrolling and messing with the window on previous attempts.

lucamega avatar Oct 03 '16 03:10 lucamega

I can confirm the freeze when using more accounts/greater scan range. After a couple of tries I was able to finish scanning for the spawn points and after that iscan seems to be more stable. However I still had a couple of freezes.

Zyrix avatar Oct 04 '16 08:10 Zyrix

Are you all on the newest version?

seikur0 avatar Oct 04 '16 11:10 seikur0

Yes, on the latest commit. I haven't seen any pattern as to when the scanner freezes. In order to bypass the problem I wrote a small script to restart the scanner once it hasn't written any new data for 5 minutes:

http://pastebin.com/4BM9HQXk

I added it to my crontab to run every 5 minutes: */5 * * * * ~/PGO-mapscan-opt/check_scanner.sh

Zyrix avatar Oct 04 '16 13:10 Zyrix

You should have an error somewhere, if that happens. @Coalado had the error #262, which crashed one of his accounts. It doesn't really depend on scan range or not touching the command window. In case it's another sqlite thing, I added some error messages for that.

seikur0 avatar Oct 05 '16 13:10 seikur0

I still have this problem on my windows machine - without any error before. However it runs fine on my ubuntu

Coalado avatar Oct 05 '16 13:10 Coalado

Try the more error messages update.

seikur0 avatar Oct 05 '16 13:10 seikur0