HA6Bots / Automatic-Youtube-Reddit-Text-To-Speech-Video-Generator-and-Uploader

A series of 3 programs that will automatically receive scripts from Reddit, allow the user to edit them, then be sent off to a video generator where they will be uploaded to YouTube automatically.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Video Generator not finding description.txt

jacobwisconsin opened this issue · comments

When I run the video generator bot it goes through its regular processes, and then it tries to upload a video that has already been rendered. It fails to find a description.txt file which does not exist inside a directory that does not exist.

Rendering all video scripts... VID GEN script 10 already rendered VID GEN script 14 already rendered 0 Videos uploaded since 8:00 Estimated quote usage 0 Allowed to upload 1 videos Uploading 1 video scripts... 1 ready to upload (total 2) Exception in thread Thread-2: Traceback (most recent call last): File "C:\Users\Aidan\AppData\Local\Programs\Python\Python39\lib\threading.py", line 973, in _bootstrap_inner self.run() File "C:\Users\Aidan\AppData\Local\Programs\Python\Python39\lib\threading.py", line 910, in run self._target(*self._args, **self._kwargs) File "C:\Users\Aidan\Documents\Reddit Bot\Automatic-Youtube-Reddit-Text-To-Speech-Video-Generator-and-Uploader-master\Youtube Bot Video Generator\youtubequeue.py", line 147, in tickThread upload = scripts_available_to_upload[i].uploadVideo() File "C:\Users\Aidan\Documents\Reddit Bot\Automatic-Youtube-Reddit-Text-To-Speech-Video-Generator-and-Uploader-master\Youtube Bot Video Generator\videoscript.py", line 86, in uploadVideo description = (loadTextFile(self.vid_description)).encode("utf8") File "C:\Users\Aidan\Documents\Reddit Bot\Automatic-Youtube-Reddit-Text-To-Speech-Video-Generator-and-Uploader-master\Youtube Bot Video Generator\videoscript.py", line 107, in loadTextFile f = open(file, "r", encoding="utf8") FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Aidan\\Documents\\Reddit Bot\\Automatic-Youtube-Reddit-Text-To-Speech-Video-Generator-and-Uploader-master\\Youtube Bot Video Generator/VIDEOQUEUE/RENDEREDVIDS/vid10/description.txt'