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 Python 3 #47

Open
VentoFahrer opened this issue Jan 1, 2022 · 0 comments
Open

Problem with Python 3 #47

VentoFahrer opened this issue Jan 1, 2022 · 0 comments

Comments

@VentoFahrer
Copy link

VentoFahrer commented Jan 1, 2022

I've set up and updated a fresh new Raspbian. Then followed the instructions exactly.

My hardware is a Pi4 with an official 7 inch touchscreen.

I start the WeatherPiTFT service first and then the script but unfortunately the following error message:

pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html Traceback (most recent call last): File "/home/pi/WeatherPi_TFT/./WeatherPiTFT.py", line 68, in <module> config = json.loads(config_data) File "/usr/lib/python3.9/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.9/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.9/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting ',' delimiter: line 18 column 29 (char 429)

Solved.....

Wrong postal code.
I live in Saxony / Germany (04425 in Germany)
If the zip code begins with a 0 then the zip code must be in "" in config.json.

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