spawnScan icon indicating copy to clipboard operation
spawnScan copied to clipboard

Problem with starting

Open Butom opened this issue 9 years ago • 13 comments

blad Im weak at programing, but tried to start this program to help myself in the game, i writed login and pass from the game to the program but done obviously somthing wrong, can sombody help a noob to solve this, or give some advice where i can find a guide how to use this program.

Sorry for weak english, i know my problem is silly for most of you but pls help

i read probably all issues and dont understand what do you mean by running scan.py, when i click on map it writes that somthing went wrong

Butom avatar Aug 26 '16 14:08 Butom

this is pretty old, did you figure it out? sounds like you don't have the API key set in your maps.

macinmn avatar Sep 20 '16 18:09 macinmn

Hello Ppl,

i cant start any *.py file. Always get an error! What i make wrong? I have made everything like in Readme. Just set all my Data into config.json. I forgot anything, wrong command?

C:\Pokemon\spawnScan-master>python tos.py Traceback (most recent call last): File "tos.py", line 7, in config = json.load(file) File "C:\Python27\lib\json__init__.py", line 291, in load **kw) File "C:\Python27\lib\json__init__.py", line 339, in loads return _default_decoder.decode(s) File "C:\Python27\lib\json\decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Python27\lib\json\decoder.py", line 380, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Expecting , delimiter: line 7 column 37 (char 142)

C:\Pokemon\spawnScan-master>check.py Traceback (most recent call last): File "C:\Pokemon\spawnScan-master\check.py", line 5, in config = json.load(file) File "C:\Python27\lib\json__init__.py", line 291, in load **kw) File "C:\Python27\lib\json__init__.py", line 339, in loads return _default_decoder.decode(s) File "C:\Python27\lib\json\decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Python27\lib\json\decoder.py", line 380, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Expecting , delimiter: line 7 column 37 (char 142)

C:\Pokemon\spawnScan-master>spawn.py Traceback (most recent call last): File "C:\Pokemon\spawnScan-master\spawn.py", line 7, in import geojson ImportError: No module named geojson

C:\Pokemon\spawnScan-master>

Any help?

iSenex avatar Oct 25 '16 20:10 iSenex

what do you get when you input:

pip install -r requirements.txt

scanner probably isn't going to work though since old API calls aren't going to go through

macinmn avatar Oct 25 '16 21:10 macinmn

I did install requirements.txt already after i have read Versio 1 ;). Thats the result

C:\Pokemon\spawnScan-master>spawn.py Traceback (most recent call last): File "C:\Pokemon\spawnScan-master\spawn.py", line 28, in <module config = json.load(file) File "C:\Python27\lib\json__init__.py", line 291, in load **kw) File "C:\Python27\lib\json__init__.py", line 339, in loads return _default_decoder.decode(s) File "C:\Python27\lib\json\decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Python27\lib\json\decoder.py", line 380, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Expecting , delimiter: line 7 column 37 (char 142)

C:\Pokemon\spawnScan-master>

iSenex avatar Oct 26 '16 19:10 iSenex

so everything reported "Requirement already satisfied"? if so, then your config file must be wrong

macinmn avatar Oct 26 '16 21:10 macinmn

Thats my config.json

{ "auth_service": "ptc", "users":[ {"username": "xxxx", "password": "xxxx"} ], "work":[ [51.045473,7.019397, 51.0539500142,7.02025979098] ], "stepsPerPassPerWorker": 50, "scanDelay": 10.2 }

iSenex avatar Oct 26 '16 21:10 iSenex

....you are right. Found an error in my config lol

iSenex avatar Oct 26 '16 21:10 iSenex

yep, just get rid of the 'lat2' :)

macinmn avatar Oct 26 '16 21:10 macinmn

Thank you, sometimes you don't see any tree in the Wood ;)

iSenex avatar Oct 26 '16 21:10 iSenex

...but does it work with the actually API?

iSenex avatar Oct 26 '16 21:10 iSenex

no it makes old API calls, so the scanning won't work (said that yesterday). not sure if the TOS function does or not, never used it.

macinmn avatar Oct 26 '16 21:10 macinmn

haven't been looking after this much due to uni, most of the new issues are due to my code using old api calls that no longer work. quite a few issues can probably be solved by updating the pogoapi folder, but i havent actually tried it

TBTerra avatar Nov 01 '16 20:11 TBTerra

No problem TBTerra, everything is not so hasty ;). But i saw a new API Realease [https://www.reddit.com/r/pokemongodev/comments/5a0obu/api_release_how_to_get_the_leaked_file_to_work/] but i don't understand it lol. Maybe someone have an easier way for a noob like me, haha?

iSenex avatar Nov 03 '16 21:11 iSenex