-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Im getting this error when im trying to run the script:
dinth1906
---------------------------
Traceback (most recent call last):
File "/home/dinth/tootbot/tootbot.py", line 158, in <module>
d = json.load(open('tweets.json','r'))
File "/usr/lib/python3.10/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/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)
Metadata
Metadata
Assignees
Labels
No labels