Joensw / Reddit-Shorts-Bot

Program to upload auto generated videos to YouTube
42 stars 5 forks source link

OSError: [Errno 22] Invalid argument: 'C:\\Users\nakadashimiyako\\Documents\\RedditVideoMakerBot\\config.toml' #7

Closed LatteMill closed 3 months ago

LatteMill commented 8 months ago

Traceback (most recent call last): File "C:\Users\nakadashimiyako\Documents\Reddit-Shorts-Bot\main.py", line 95, in main() File "C:\Users\nakadashimiyako\Documents\Reddit-Shorts-Bot\main.py", line 76, in main times_to_run = get_run_times() File "C:\Users\nakadashimiyako\Documents\Reddit-Shorts-Bot\main.py", line 21, in get_run_times with open(config_path, mode="rb") as fp: OSError: [Errno 22] Invalid argument: 'C:\Users\nakadashimiyako\Documents\RedditVideoMakerBot\config.toml'

Joensw commented 7 months ago

Apologies that I didn't respond earlier, I was busy with university.

Are you still having this issue?

Hvdri commented 7 months ago

I remember having solved the issue. But dont remember how, i dont use it anymore. Im also busy with university :)

On Fri, 15 Mar 2024 at 17:42, Jonas @.***> wrote:

Apologies that I didn't respond earlier, I was busy with university.

Are you still having this issue?

— Reply to this email directly, view it on GitHub https://github.com/Joensw/Reddit-Shorts-Bot/issues/7#issuecomment-1999936442, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV5SVFUKV4QCKEUOTRJBU53YYMJF7AVCNFSM6AAAAABC53LRLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJZHEZTMNBUGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

LatteMill commented 7 months ago

Owner

Yes, it still report this error

Joensw commented 7 months ago

I've tried to recreate the issue and I could not. Would you mind telling me which python version you are using and also sharing your .env file?

LatteMill commented 7 months ago

I've tried to recreate the issue and I could not. Would you mind telling me which python version you are using and also sharing your .env file?

Sorry for a late reply, it's 3.10.x version

Joensw commented 4 months ago

There is no config.toml file in this repo. In the required RedditVideoMakerBot repository there is also no config.toml file, until it is created when the program is run for this first time. Running the RedditVideoMakerBot on its own before using this program is important, so the file is created and the bot is configured correctly.

Percy1082 commented 3 months ago

There is no config.toml file in this repo. In the required RedditVideoMakerBot repository there is also no config.toml file, until it is created when the program is run for this first time. Running the RedditVideoMakerBot on its own before using this program is important, so the file is created and the bot is configured correctly.

Traceback (most recent call last): File "C:\Users\admin018\Documents\Reddit-Shorts-Bot\main.py", line 95, in main() File "C:\Users\admin018\Documents\Reddit-Shorts-Bot\main.py", line 76, in main times_to_run = get_run_times() File "C:\Users\admin018\Documents\Reddit-Shorts-Bot\main.py", line 21, in get_run_times with open(config_path, mode="rb") as fp: OSError: [Errno 22] Invalid argument: 'C:\Users\x07dmin018\Documents\RedditVideoMakerBot\config.toml'

Percy1082 commented 3 months ago

How could i setting automatically post on Youtube daily ?

Joensw commented 3 months ago

How could i setting automatically post on Youtube daily ?

You can use something like Windows Task Scheduler to automatically run the program daily

LatteMill commented 3 months ago

How could i setting automatically post on Youtube daily ?

You can use something like Windows Task Scheduler to automatically run the program daily

Thank you sir