mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-27 02:25:50 +03:00
[GH-ISSUE #162] Json Decoder Error Expecting ',' delimiter #591
Labels
No labels
bug
duplicate
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Insomniac#591
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
@alexal1 commented on GitHub (Oct 29, 2020):
Unfortunately, you killed the process while it was writing to
interacted_users.jsonfile. 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).