[GH-ISSUE #11] TypeError: 'NoneType' object is not iterable #4

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

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

Error:

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

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

Error gets thrown at line 112 in main.py because videos variable is not iterable. Variable videos is 'None' instead.

Originally created by @supperfreddo on GitHub (Feb 18, 2024). Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/11 Error: ``` Traceback (most recent call last): File "C:\Users\Fred\Documents\GitHub\MoneyPrinterV2\src\main.py", line 362, in <module> main() File "C:\Users\Fred\Documents\GitHub\MoneyPrinterV2\src\main.py", line 112, 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/33f824bc-5ff1-4ecc-8b20-b1433864fa9b) ![image](https://github.com/FujiwaraChoki/MoneyPrinterV2/assets/9703184/ab342f1f-1126-42de-a362-579cf5545f46) Error gets thrown at line 112 in main.py because videos variable is not iterable. Variable videos is 'None' instead.
kerem closed this issue 2026-03-02 04:06:08 +03:00
Author
Owner

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

I answered your question in a previous issue. Stop opening new ones please.

<!-- gh-comment-id:1951397002 --> @FujiwaraChoki commented on GitHub (Feb 18, 2024): I answered your question in a previous issue. Stop opening new ones please.
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#4
No description provided.