Open janbuhh opened 3 years ago
Your .json is not properly formatted. You can attach it here if you want the community to help you
Thanks for your fast answer.
I´ve tried it again with your example script "interact-likes-only.json" without any changes, because I only wanted to know if the script will work. Also your example stops with an error.
Here is the output:
Traceback (most recent call last):
File "start.py", line 4, in
For you, I´ve saved the file from json to txt and attached it here, if you could find an error in the format (copy and past error?). interact-likes-only.txt
Hello, when I start Insomniac with a json config file I received errors. I get the same error when I start with my own config file and and every example file. Here is the output: Traceback (most recent call last): File "start.py", line 4, in
insomniac.run(activation_code)
File "/home/pi/.local/lib/python3.8/site-packages/insomniac/init.py", line 30, in run
insomniac_session.run()
File "", line 145, in run
File "/home/pi/.local/lib/python3.8/site-packages/insomniac/session.py", line 135, in parse_args
ok, args = parse_arguments(self.get_session_args(), self.starter_conf_file_path)
File "/home/pi/.local/lib/python3.8/site-packages/insomniac/params.py", line 46, in parse_arguments
refresh_args_by_conf_file(args)
File "/home/pi/.local/lib/python3.8/site-packages/insomniac/params.py", line 72, in refresh_args_by_conf_file
params = json.load(json_file)
File "/usr/lib/python3.8/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 7 column 1 (char 6)
Best regards Jan