TBTerra / spawnScan

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

Issues Reading username?? #14

Closed EliTruth closed 8 years ago

EliTruth commented 8 years ago

Hello, getting an error when scanning:

Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner self.run() File "C:\Python27\lib\threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "C:\spawnScan-master\spawn.py", line 96, in worker api = pgoapi.PGoApi(provider=config['auth_service'], username=config['users'][wid]['username'], password=config['use rs'][wid]['password'], position_lat=0, position_lng=0, position_alt=0) TypeError: __init__() got an unexpected keyword argument 'username'

Am I filling out the un/pass array incorrectly? Can you provide an example?

jacobjpope commented 8 years ago

This is fixed with the newest version, it was using an older version of the PoGo API.

EliTruth commented 8 years ago

Not sure if related, now getting this error after scan completes:

Traceback (most recent call last): File "C:\Users\TK\Desktop\Pokemon Go Stuff\spawnScan\spawn.py", line 251, in <module> main() File "C:\Users\TK\Desktop\Pokemon Go Stuff\spawnScan\spawn.py", line 194, in main t.join() AttributeError: 'NoneType' object has no attribute 'join'

It is not generating the proper .json files after a scan. Thanks!

TBTerra commented 8 years ago

if you are using 0.2.0 then that issue should be fixed in 0.2.2, as it was caused by trying to clean up a worker thread that didnt exist.

if you are getting it in 0.2.2 then i may need to do some more work

EliTruth commented 8 years ago

This was from a fresh clone of the git about 2 hours ago, so yeah I'd say it was 0.2.2

TBTerra commented 8 years ago

im pretty sure i fixed it in 0.2.3, fingers crossed

EliTruth commented 8 years ago

I've been waiting for this - I'll do a scan right away :+1:

EliTruth commented 8 years ago

Welp, a few issues even though the scan saves:

Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "spawn.py", line 143, in worker print 'worker {} is doing {} pass'.format(wid,num2words[6]) IndexError: list index out of range

Every worker is thrown this error as the scan terminates, a 6th scan never happens.

I guess you may have a pointer issue? Also typos.

worker 22 is doing fith pass worker 22 took 221.485846043 seconds to do 4 pass now sleeping for 378.514153957

EliTruth commented 8 years ago

Looks like all issues resolved with latest commits, thanks and closing!