Fixed up a couple errors after running this morning :
d:\src\python-reddit-youtube-bot>python app.py
Traceback (most recent call last):
File "d:\src\python-reddit-youtube-bot\app.py", line 15, in <module>
import video_generation.video as vid
File "d:\src\python-reddit-youtube-bot\video_generation\video.py", line 37, in <module>
import publish.youtube as youtube
File "d:\src\python-reddit-youtube-bot\publish\youtube.py", line 9, in <module>
from simple_youtube_api.youtube_video import YouTubeVideo
ModuleNotFoundError: No module named 'simple_youtube_api.youtube_video'
===== Retrieving valid Reddit submissions =====
ID, SCORE, NUM_COMMENTS, LEN_SELFTEXT, SUBREDDIT, TITLE
Skipping NSFW...
Traceback (most recent call last):
File "d:\src\python-reddit-youtube-bot\app.py", line 366, in <module>
submissions = reddit.get_valid_submissions(submissions)
File "d:\src\python-reddit-youtube-bot\reddit\reddit.py", line 189, in get_valid_submissions
msg: str = ", ".join(
TypeError: str.join() takes exactly one argument (6 given)
2023-05-03 07:38:58 INFO Optimising Font Size :
Traceback (most recent call last):
File "d:\src\python-reddit-youtube-bot\app.py", line 369, in <module>
process_submissions(submissions)
File "d:\src\python-reddit-youtube-bot\app.py", line 64, in process_submissions
process_submission(submission)
File "d:\src\python-reddit-youtube-bot\app.py", line 102, in process_submission
thumbnails: List[Path] = thumbnail.generate(
File "d:\src\python-reddit-youtube-bot\thumbnail\thumbnail.py", line 180, in generate
thumbnail = create_thumbnail(
File "d:\src\python-reddit-youtube-bot\thumbnail\thumbnail.py", line 276, in create_thumbnail
sys.stdout.write(fontsize)
TypeError: write() argument must be str, not int
Fixed up a couple errors after running this morning :