[GH-ISSUE #10] TypeError: 'NoneType' object is not iterable #5

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

Originally created by @supperfreddo on GitHub (Feb 18, 2024).
Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/10

Error:

Traceback (most recent call last):
  File "C:\Users\Fred\Documents\GitHub\MoneyPrinterV2\src\main.py", line 363, in <module>
    main()
  File "C:\Users\Fred\Documents\GitHub\MoneyPrinterV2\src\main.py", line 113, in main
    for video in videos:
TypeError: 'NoneType' object is not iterable

Got error whilst using option '2. Show all Shorts':
image
image

Originally created by @supperfreddo on GitHub (Feb 18, 2024). Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/10 Error: ``` Traceback (most recent call last): File "C:\Users\Fred\Documents\GitHub\MoneyPrinterV2\src\main.py", line 363, in <module> main() File "C:\Users\Fred\Documents\GitHub\MoneyPrinterV2\src\main.py", line 113, in main for video in videos: TypeError: 'NoneType' object is not iterable ``` Got error whilst using option '2. Show all Shorts': ![image](https://github.com/FujiwaraChoki/MoneyPrinterV2/assets/9703184/e5713022-bdc8-4923-a952-b5db9665dced) ![image](https://github.com/FujiwaraChoki/MoneyPrinterV2/assets/9703184/ebe3cd3c-de56-4568-b9f3-b3eb3a797a63)
kerem closed this issue 2026-03-02 04:06:08 +03:00
Author
Owner

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

That just means you haven't yet uploaded any videos through MPV2. MPV2 doesn't dynamically fetch your previously uploaded Shorts, but gets them from the youtube.json cache file.

<!-- gh-comment-id:1951382021 --> @FujiwaraChoki commented on GitHub (Feb 18, 2024): That just means you haven't yet uploaded any videos through MPV2. MPV2 doesn't dynamically fetch your previously uploaded Shorts, but gets them from the `youtube.json` cache file.
Author
Owner

@supperfreddo commented on GitHub (Feb 19, 2024):

The caching functionality seems to be unfinished. I have made a PR for it.
#14

<!-- gh-comment-id:1951493094 --> @supperfreddo commented on GitHub (Feb 19, 2024): The caching functionality seems to be unfinished. I have made a PR for it. #14
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#5
No description provided.