Open Roosterkobain opened 2 years ago
From the stack trace, it seems that this would happen if the program is unable to detect the config/settings.json
file. Can you confirm if you saw any printed statements on the console like Unable to find file: config/settings.json
?
└─$ python3 main.py th3ro0ster --command info Traceback (most recent call last): File "/home/kali/Osintgram/main.py", line 121, in
api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies)
File "/home/kali/Osintgram/src/Osintgram.py", line 47, in init
self.login(u, p)
File "/home/kali/Osintgram/src/Osintgram.py", line 1110, in login
cached_settings = json.load(file_data, object_hook=self.from_json)
File "/usr/lib/python3.9/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.9/json/init.py", line 359, in loads
return cls(kw).decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)**