[GH-ISSUE #317] json.decoder.JSONDecodeError: Expecting value: line 40 column 16 (char 1398) #728

Closed
opened 2026-03-13 22:27:09 +03:00 by kerem · 1 comment
Owner

Originally created by @marco1m on GitHub (Apr 13, 2021).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/317

I just stopped working. Now it gives me the following error:
Using insomniac session-manager without extra-features

Traceback (most recent call last):
File "start.py", line 4, in
insomniac.run(activation_code)
File "/Users/Marco/Downloads/Insomniac-master/insomniac/init.py", line 30, in run
insomniac_session.run()
File "/Users/Marco/Downloads/Insomniac-master/insomniac/session.py", line 209, in run
args = self.parse_args()
File "/Users/Marco/Downloads/Insomniac-master/insomniac/session.py", line 135, in parse_args
ok, args = parse_arguments(self.get_session_args(), self.starter_conf_file_path)
File "/Users/Marco/Downloads/Insomniac-master/insomniac/params.py", line 46, in parse_arguments
refresh_args_by_conf_file(args)
File "/Users/Marco/Downloads/Insomniac-master/insomniac/params.py", line 72, in refresh_args_by_conf_file
params = json.load(json_file)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/init.py", line 296, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 40 column 16 (char 1398)

Originally created by @marco1m on GitHub (Apr 13, 2021). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/317 I just stopped working. Now it gives me the following error: Using insomniac session-manager without extra-features Traceback (most recent call last): File "start.py", line 4, in <module> insomniac.run(activation_code) File "/Users/Marco/Downloads/Insomniac-master/insomniac/__init__.py", line 30, in run insomniac_session.run() File "/Users/Marco/Downloads/Insomniac-master/insomniac/session.py", line 209, in run args = self.parse_args() File "/Users/Marco/Downloads/Insomniac-master/insomniac/session.py", line 135, in parse_args ok, args = parse_arguments(self.get_session_args(), self.starter_conf_file_path) File "/Users/Marco/Downloads/Insomniac-master/insomniac/params.py", line 46, in parse_arguments refresh_args_by_conf_file(args) File "/Users/Marco/Downloads/Insomniac-master/insomniac/params.py", line 72, in refresh_args_by_conf_file params = json.load(json_file) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 296, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 40 column 16 (char 1398)
kerem closed this issue 2026-03-13 22:27:14 +03:00
Author
Owner

@alexal1 commented on GitHub (Jun 21, 2021):

It means that your config file is incorrect

<!-- gh-comment-id:865269670 --> @alexal1 commented on GitHub (Jun 21, 2021): It means that your config file is incorrect
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Insomniac#728
No description provided.