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

ValueError: Expecting : delimiter: line 1 column 19 (char 18) #236

Open
TreHat opened this issue Jul 28, 2016 · 0 comments
Open

ValueError: Expecting : delimiter: line 1 column 19 (char 18) #236

TreHat opened this issue Jul 28, 2016 · 0 comments

Comments

@TreHat
Copy link

TreHat commented Jul 28, 2016

Hi everyone,

I am trying to do the Pokemon Go Map of pokemon shown in this video (https://www.youtube.com/watch?v=Io1yeFjVhHQ). I get all the way to the last step perfectly where you enter in the last code so it searches for pokemon locations and get this in my terminal with the "ValueError: Expecting : delimiter: line 1 column 19 (char 18)" appearing on the last line. Any help on how to fix this problem? (Ps. I astriced out my -u and -p but it is correct in the original code.)

Trevors-Air:PokemonGo-Map-master Treavor$ python runserver.py -a ptc -u ****** -p ********** -l "40.1938930, -92.5784320" -st 10
2016-07-27 18:43:02,518 [ runserver] [ INFO] Parsed location is: 40.1939/-92.5784/0.0000 (lat/lng/alt)
2016-07-27 18:43:02,519 [ search] [ INFO] Map iteration: 0
2016-07-27 18:43:02,519 [ search] [ INFO] Attempting login to Pokemon Go.
2016-07-27 18:43:02,520 [ auth_ptc] [ INFO] PTC login for: ******
Traceback (most recent call last):
File "runserver.py", line 76, in
config['GMAPS_KEY'] = load_credentials(os.path.dirname(os.path.realpath(file)))['gmaps_key']
File "/Users/Treavor/Desktop/PokemonGo-Map-master/pogom/utils.py", line 137, in load_credentials
creds = json.load(file)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 291, in load
**kw)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting : delimiter: line 1 column 19 (char 18)

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

1 participant