[GH-ISSUE #18] Youtube shorts generation: OSError: [WinError 6] The handle is invalid #12

Closed
opened 2026-03-02 04:06:11 +03:00 by kerem · 9 comments
Owner

Originally created by @omansh-arora on GitHub (Feb 19, 2024).
Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/18

Originally assigned to: @FujiwaraChoki on GitHub.

image

Originally created by @omansh-arora on GitHub (Feb 19, 2024). Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/18 Originally assigned to: @FujiwaraChoki on GitHub. ![image](https://github.com/FujiwaraChoki/MoneyPrinterV2/assets/100989540/b13c8b26-3e94-4265-a386-86872d913f29)
kerem 2026-03-02 04:06:11 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@omansh-arora commented on GitHub (Feb 19, 2024):

Different error too:

image

<!-- gh-comment-id:1953217427 --> @omansh-arora commented on GitHub (Feb 19, 2024): Different error too: ![image](https://github.com/FujiwaraChoki/MoneyPrinterV2/assets/100989540/85b9ca30-0400-47c6-aa89-b32ae6dd1a5d)
Author
Owner

@FujiwaraChoki commented on GitHub (Feb 20, 2024):

Was this a one time thing or does this happen frequently?

<!-- gh-comment-id:1954050964 --> @FujiwaraChoki commented on GitHub (Feb 20, 2024): Was this a one time thing or does this happen frequently?
Author
Owner

@omansh-arora commented on GitHub (Feb 20, 2024):

It happens after 1 short is created

<!-- gh-comment-id:1954892337 --> @omansh-arora commented on GitHub (Feb 20, 2024): It happens after 1 short is created
Author
Owner

@FujiwaraChoki commented on GitHub (Feb 21, 2024):

It is probably a bug where MoviePy failed to close the file after creating it. I will have a look at it.

<!-- gh-comment-id:1956790528 --> @FujiwaraChoki commented on GitHub (Feb 21, 2024): It is probably a bug where MoviePy failed to close the file after creating it. I will have a look at it.
Author
Owner

@ElvisDream commented on GitHub (Feb 22, 2024):

I had a similar problem, but I didn't generate a single short successfully
image

<!-- gh-comment-id:1959385420 --> @ElvisDream commented on GitHub (Feb 22, 2024): I had a similar problem, but I didn't generate a single short successfully ![image](https://github.com/FujiwaraChoki/MoneyPrinterV2/assets/26276217/1637b592-3990-48fd-ad29-9906a68a03a6)
Author
Owner

@FujiwaraChoki commented on GitHub (Feb 22, 2024):

@ElvisDream Sorry I can't read chinese, but the issue here is that it was not able to use the gpt4free package correctly. I recommend using a VPN.

<!-- gh-comment-id:1959772461 --> @FujiwaraChoki commented on GitHub (Feb 22, 2024): @ElvisDream Sorry I can't read chinese, but the issue here is that it was not able to use the `gpt4free` package correctly. I recommend using a VPN.
Author
Owner

@FujiwaraChoki commented on GitHub (Feb 22, 2024):

I just noticed that it applies to both 🤦

I will close this issue, as the solution is to use a VPN.

<!-- gh-comment-id:1959774538 --> @FujiwaraChoki commented on GitHub (Feb 22, 2024): I just noticed that it applies to both 🤦 I will close this issue, as the solution is to use a VPN.
Author
Owner

@ElvisDream commented on GitHub (Feb 23, 2024):

But I use a VPN all the time

<!-- gh-comment-id:1960589775 --> @ElvisDream commented on GitHub (Feb 23, 2024): But I use a VPN all the time
Author
Owner

@YotomiY commented on GitHub (Feb 25, 2024):

Got the error using a vpn all the time

<!-- gh-comment-id:1962887795 --> @YotomiY commented on GitHub (Feb 25, 2024): Got the error using a vpn all the time
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/MoneyPrinterV2#12
No description provided.