[GH-ISSUE #162] Json Decoder Error Expecting ',' delimiter #591

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

Originally created by @don-ciccio on GitHub (Oct 29, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/162

Hi, I updated to the last version I started the script and everything went fine. After killing the process the first time I keep getting this error:

Traceback (most recent call last):
File "start.py", line 4, in
insomniac.run(activation_code)
File "/home/pi/.local/lib/python3.7/site-packages/insomniac/init.py", line 97, in run
storage = Storage(session_state.my_username)
File "/home/pi/.local/lib/python3.7/site-packages/insomniac/storage.py", line 30, in init
self.interacted_users = json.load(json_file)
File "/usr/lib/python3.7/json/init.py", line 296, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 17263 column 57 (char 533080)

I tried reinstalling insomniac, logging out of the account and switching devices but none of those seem to work. Any ideas why?

Originally created by @don-ciccio on GitHub (Oct 29, 2020). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/162 Hi, I updated to the last version I started the script and everything went fine. After killing the process the first time I keep getting this error: Traceback (most recent call last): File "start.py", line 4, in <module> insomniac.run(activation_code) File "/home/pi/.local/lib/python3.7/site-packages/insomniac/__init__.py", line 97, in run storage = Storage(session_state.my_username) File "/home/pi/.local/lib/python3.7/site-packages/insomniac/storage.py", line 30, in __init__ self.interacted_users = json.load(json_file) File "/usr/lib/python3.7/json/__init__.py", line 296, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "/usr/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/usr/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting ',' delimiter: line 17263 column 57 (char 533080) I tried reinstalling insomniac, logging out of the account and switching devices but none of those seem to work. Any ideas why?
kerem closed this issue 2026-03-13 22:02:36 +03:00
Author
Owner

@alexal1 commented on GitHub (Oct 29, 2020):

Unfortunately, you killed the process while it was writing to interacted_users.json file. You can find this file in the <username> folder which is in the folder where you launch the script from. You can either simply delete this file, or fix broken brackets (as JSON fromat requires).

<!-- gh-comment-id:718437601 --> @alexal1 commented on GitHub (Oct 29, 2020): Unfortunately, you killed the process while it was writing to `interacted_users.json` file. You can find this file in the `<username>` folder which is in the folder where you launch the script from. You can either simply delete this file, or fix broken brackets (as JSON fromat requires).
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#591
No description provided.