mike-grant / haaska

Home Assistant Alexa Skill Adapter that supports v3 of the Alexa Smart Home Skill API
MIT License
537 stars 117 forks source link

Test fail error #203

Open Langtonpaul opened 3 years ago

Langtonpaul commented 3 years ago

Hi Guys, Just getting back into playing with Homeassistant setting up a install on proxmox, always used a simple code in configuration.yaml to set up Alexa thought I would be a bit more adventurous and try your method. Had a few instruction issues as the amazon AWS interface must have changed since you did the wiki got there in the end or so I thought. I have a error message when trying the test is it something I have done wrong I dont know if its refering to the test JSON code or the Haaska code can you help please. Im happy to document the changes in the AWS interface if it help you or anyone else. error log below. { "errorMessage": "Invalid control character at: line 3 column 203 (char 250)", "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)" ] ]