GramAddict / bot

Completely free and open-source human-like Instagram bot. Powered by UIAutomator2 and compatible with basically any Android device 5.0+ that can run Instagram - real or emulated.
https://docs.gramaddict.org
MIT License
1.1k stars 172 forks source link

Expecting Delimiter #116

Closed Sudge32 closed 3 years ago

Sudge32 commented 3 years ago

What happened: Traceback (most recent call last): File "C:\bot-master\run.py", line 3, in <module> GramAddict.run() File "C:\bot-master\GramAddict\__init__.py", line 233, in run storage = Storage(session_state.my_username) File "C:\bot-master\GramAddict\core\storage.py", line 35, in __init__ self.interacted_users = json.load(json_file) File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\json\__init__.py", line 293, in load return loads(fp.read(), File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\json\__init__.py", line 346, in loads return _default_decoder.decode(s) File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting ':' delimiter: line 13187 column 27 (char 413321)

What you expected to happen: Bot working as usual

How to reproduce it (as minimally and precisely as possible): starting BotScript, which was working an hour ago

Anything else we need to know?: Nope

Environment:

Relevant Logs:

philip-ulrich commented 3 years ago

Your session state json file is corrupted. You just need to fix it. It’s likely an issue at the bottom of the file. We’ll be ceasing use of json files in the near future at lease partially. because of these issues

Sudge32 commented 3 years ago

Strange Thing on another instagram Account the bot is working

philip-ulrich commented 3 years ago

Not strange at all. The session file is per username. If you need help fixing it, please open a ticket in discord and attach the file for the effected user. Very easy fix though