Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with starting #50

Open
Butom opened this issue Aug 26, 2016 · 13 comments
Open

Problem with starting #50

Butom opened this issue Aug 26, 2016 · 13 comments

Comments

@Butom
Copy link

Butom commented Aug 26, 2016

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

@macinmn
Copy link

macinmn commented Sep 20, 2016

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

@iSenex
Copy link

iSenex commented Oct 25, 2016

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?

@macinmn
Copy link

macinmn commented Oct 25, 2016

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

@iSenex
Copy link

iSenex commented Oct 26, 2016

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>

@macinmn
Copy link

macinmn commented Oct 26, 2016

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

@iSenex
Copy link

iSenex commented Oct 26, 2016

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
Copy link

iSenex commented Oct 26, 2016

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

@macinmn
Copy link

macinmn commented Oct 26, 2016

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

@iSenex
Copy link

iSenex commented Oct 26, 2016

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

@iSenex
Copy link

iSenex commented Oct 26, 2016

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

@macinmn
Copy link

macinmn commented Oct 26, 2016

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.

@TBTerra
Copy link
Owner

TBTerra commented Nov 1, 2016

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

@iSenex
Copy link

iSenex commented Nov 3, 2016

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants