RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

.env is broken

Open majorslapper opened this issue 4 years ago • 13 comments

i keep getting this error but for every single field that is the env file. my env file is completely filled out but im still getting this error unknown Background (1)

majorslapper avatar Jun 07 '22 12:06 majorslapper

did you blanked out the variables or is that actually your .env file?

iaacornus avatar Jun 07 '22 12:06 iaacornus

did you blanked out the variables or is that actually your .env file?

blanked it out

majorslapper avatar Jun 07 '22 13:06 majorslapper

Ensure that the file is named .env and not .env.txt - you may need to show hidden files

gibbiemonster avatar Jun 07 '22 13:06 gibbiemonster

Also, try using the setup wizard.

The Your .env file is invalid, or was never created. Standby. Message leads me to believe that your .env file doesn't exist.

Lines 53-55 in main.py show this check:

if not os.path.exists(".env"):
    configured = False
    console.log("[red] Your .env file is invalid, or was never created. Standby.")

gibbiemonster avatar Jun 07 '22 13:06 gibbiemonster

Also, try using the setup wizard.

The Your .env file is invalid, or was never created. Standby. Message leads me to believe that your .env file doesn't exist.

image

majorslapper avatar Jun 07 '22 13:06 majorslapper

TEMPLATE File

Run the setup assistant. That .env file is .env.template - NOT .env

Copy the info from the .env.template file into the setup assistant.

gibbiemonster avatar Jun 07 '22 13:06 gibbiemonster

TEMPLATE File

Run the setup assistant. That .env file is .env.template - NOT .env

Copy the info from the .env.template file into the setup assistant.

i just tried and got this error image

majorslapper avatar Jun 07 '22 13:06 majorslapper

ah, looks like I missed something. There's an error with the setup assistant here. I'll get something made and I'll provide a setup.py to replace yours.

gibbiemonster avatar Jun 07 '22 13:06 gibbiemonster

ah, looks like I missed something. There's an error with the setup assistant here. I'll get something made and I'll provide a setup.py to replace yours.

ok

majorslapper avatar Jun 07 '22 13:06 majorslapper

Okay, try this repository: https://github.com/BlockArchitech/RedditVideoMakerBot

See #365

gibbiemonster avatar Jun 07 '22 13:06 gibbiemonster

Okay, try this repository: https://github.com/BlockArchitech/RedditVideoMakerBot

See #365

that fixed it thank you soo much <3

majorslapper avatar Jun 07 '22 13:06 majorslapper

no problem!

Please close this issue if that solved your request.

gibbiemonster avatar Jun 07 '22 13:06 gibbiemonster

no problem!

Please close this issue if that solved your request.

quick question before i close the thread isnt the bot supposed to compile everything? nvm i found it

majorslapper avatar Jun 07 '22 13:06 majorslapper