Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Generator not finding description.txt #71

Open
jacobwisconsin opened this issue Sep 17, 2021 · 0 comments
Open

Video Generator not finding description.txt #71

jacobwisconsin opened this issue Sep 17, 2021 · 0 comments

Comments

@jacobwisconsin
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant