FujiwaraChoki / MoneyPrinter

Automate Creation of YouTube Shorts using MoviePy.
MIT License
10.07k stars 1.35k forks source link

Error: must be real number, not NoneType[BUG] #238

Closed J3rr1ck closed 6 months ago

J3rr1ck commented 6 months ago

hey there this was running fine for me up till today when I get the following error ` [+] Subtitles generated. [+] Combining videos... [+] Each clip will be maximum 16.834 seconds long. Moviepy - Building video ../temp/15f19b6b-162c-41c1-984c-929229e78142.mp4. Moviepy - Writing video ../temp/15f19b6b-162c-41c1-984c-929229e78142.mp4

[-] Error: must be real number, not NoneType INFO:werkzeug:127.0.0.1 - - [17/Feb/2024 11:01:52] "POST /api/generate HTTP/1.1" 200 - ` Seems like all the videos are valid? any ideas?

FujiwaraChoki commented 6 months ago

Does this always happen or not?

J3rr1ck commented 6 months ago

Hey just confirming yes no matter what its tripping on my Linux install, seems to run okay on windows but definitely would rather not be using it there 😓

FujiwaraChoki commented 6 months ago

Sorry, not sure what the problem is :(

It might be an indentation error with the if/else statements.