ERROR when trying to create vid
Using the feature to not create the same video twice from JasonLovesDoggo, I get this error. Can someone help?
Traceback (most recent call last): File "C:\Users\User\Desktop\Reddit Bot\main.py", line 73, in <module> main() File "C:\Users\User\Desktop\Reddit Bot\main.py", line 63, in main reddit_object = get_obj() File "C:\Users\User\Desktop\Reddit Bot\main.py", line 60, in get_obj reddit_obj = get_subreddit_threads(os.getenv("VOICE")) File "C:\Users\User\Desktop\Reddit Bot\reddit\subreddit.py", line 42, in get_subreddit_threads submission = get_subreddit_undone(threads, subreddit) File "C:\Users\User\Desktop\Reddit Bot\utils\subreddit.py", line 7, in get_subreddit_undone done_videos = json.load(done_vids_raw) 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 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 38 column 1 (char 1434)
nvm fixed it
nvm fixed it
how?
nvm fixed it
how?
its an error because json cant read the json file. you have to keep the json layout in the videos.json file. So, if you dont know what the layout is you can just delete everything and fill in [] that should fix it.