Hi Guys.
Enabled smarttarget auto SoC yesterday and it is not working. Seeing the following error in the logs:
Traceback (most recent call last):
File "/app/GivTCP_1/palm_soc.py", line 402, in
ge.get_load_hist(TIME_NOW_MINS_VAR)
File "/app/GivTCP_1/palm_soc.py", line 90, in get_load_hist
history = json.loads(resp.content.decode('utf-8'))
File "/usr/local/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Is this due to us not having enough history (10 days) or is there something else I should be looking at?
Cheers
John
Hi Guys. Enabled smarttarget auto SoC yesterday and it is not working. Seeing the following error in the logs:
Traceback (most recent call last): File "/app/GivTCP_1/palm_soc.py", line 402, in
ge.get_load_hist(TIME_NOW_MINS_VAR)
File "/app/GivTCP_1/palm_soc.py", line 90, in get_load_hist
history = json.loads(resp.content.decode('utf-8'))
File "/usr/local/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Is this due to us not having enough history (10 days) or is there something else I should be looking at? Cheers John