Haaska test failed error message "invalid control character at: line 3 column 203 (char 253)

Hi all,

I followed the instructions on git-hub to the T and even followed along with Dr. Zzs youtube video that went right along with the github page. Most things were identical to the instructions minus a very few things that were located in a different spot on the page but there wasn’t anything I couldn;t find or guessed at. I ran a test at the end per the instructions and I got these failed log details shown below. Can anyone point me in the right direction? TIA!

{
“errorMessage”: “Invalid control character at: line 3 column 203 (char 253)”,
“errorType”: “JSONDecodeError”,
“stackTrace”: [
[
“/var/task/haaska.py”,
106,
“event_handler”,
“config = Configuration(‘config.json’)”
],
[
“/var/task/haaska.py”,
80,
init”,
“self._json = json.load(f)”
],
[
“/var/lang/lib/python3.6/json/init.py”,
299,
“load”,
“parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)”
],
[
“/var/lang/lib/python3.6/json/init.py”,
354,
“loads”,
“return _default_decoder.decode(s)”
],
[
“/var/lang/lib/python3.6/json/decoder.py”,
339,
“decode”,
“obj, end = self.raw_decode(s, idx=_w(s, 0).end())”
],
[
“/var/lang/lib/python3.6/json/decoder.py”,
355,
“raw_decode”,
“obj, end = self.scan_once(s, idx)”
]
]
}

After trying to follow those instructions again, I found a different method from @EverythingSmartHome (thank you very much!!!) that worked like a charm! Still not sure what the issue was with the other way to do it…

1 Like