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

Weather is not working #90

Open
elyasnaji opened this issue Nov 12, 2017 · 3 comments
Open

Weather is not working #90

elyasnaji opened this issue Nov 12, 2017 · 3 comments

Comments

@elyasnaji
Copy link

i have already put in the token. The app launches after this code and displays time, news but not weather

Traceback (most recent call last): File "smartmirror.py", line 157, in get_weather weather_obj = json.loads(r.text) File "/usr/lib/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/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 Error: No JSON object could be decoded. Cannot get weather. pi@raspberrypi:~/Smart-Mirror $

@delahoya1
Copy link

make sure you delete the <>

@delahoya1
Copy link

around the token

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

3 participants
@elyasnaji @delahoya1 and others