This python script in this topic:
Stopped working after the last appdeamon update which upgraded python to python 3.10
The error I get is:
2022-07-12 14:41:42.735619 WARNING EcoWater: Traceback (most recent call last):
File “/usr/lib/python3.10/site-packages/appdaemon/threading.py”, line 904, in worker
funcref(self.AD.sched.sanitize_timer_kwargs(app, args[“kwargs”]))
File “/config/appdaemon/apps/ecowater.py”, line 70, in run_parsing
jsonv = json.loads(data.text)
File “/usr/lib/python3.10/json/init .py”, line 346, in loads
return _default_decoder.decode(s)
File “/usr/lib/python3.10/json/decoder.py”, line 340, in decode
raise JSONDecodeError(“Extra data”, s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1)
The script is no longer maintained, and my python knowledge is near to 0.
Anybody to have a look at the script and adapt it to python 3.10? I think it’s just one line that needs to be updated.
Thx
Patrick