Skip to content

Problem with Python 3 #47

Open
Open
@VentoFahrer

Description

@VentoFahrer

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions