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

readAndChangeXML.py and Python error? #51

Open
AznNoProblem opened this issue Jul 15, 2016 · 0 comments
Open

readAndChangeXML.py and Python error? #51

AznNoProblem opened this issue Jul 15, 2016 · 0 comments

Comments

@AznNoProblem
Copy link

Hello. I'm new to using a mac and Python. My first issue was wtf is python, I google'd and quickly solved that. Opened terminal, changed directories to where my pokemon file was, and then i entered 'python readAndChangeXML.py' in the terminal and there's an issue that I'm not too sure how to solve..? If anyone could help, that'd be great, otherwise i'll just theorycraft some more x.x

Traceback (most recent call last):
File "readAndChangeXML.py", line 32, in
start()
File "readAndChangeXML.py", line 30, in start
generateXML()
File "readAndChangeXML.py", line 17, in generateXML
geo = getPokemonLocation()
File "readAndChangeXML.py", line 11, in getPokemonLocation
return json.load(response)
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 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

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