Exit Status 2 Python

I am getting the error
repl process died unexpectedly: exit status 2

this happens when I try to launch my discord bot. Is there a fix for this I can do on my side?

your probably using too much data? We’d need screenshots of the error as well as the code! Also, welcome to community!

2 Likes

come on dude ;-; were you rushing to get here first

give me one second, sorry im multitasking right now lol

I hope this is what you were looking for, if not let me know

can you go to .replit file and then enter for entrypoint="DevBot-main/bot.py" and also run="python3 DevBot-main/bot.py"

2 Likes

where would I find that .replit? not sure how to access that

Hey @MrRunt, welcome to the community!

Just click the three dots then click “Show hidden files”. Next click on the .replit file and finally you can change the entrypoint to "DevBot-main/bot.py".

You can also change the second line from run="python main.py" to run="python DevBot-main/bot.py", though it won’t have an effect for interpreted languages as shown in the comment on line 1.

Images

Dots

Show hidden files

edited

Also see the docs on how to configure a Repl: https://docs.replit.com/programming-ide/configuring-repl

And next time, please provide a link to your Repl. In this case, it’s https://replit.com/@MrRunt/DevBot.

that fixed my issue, thanks a lot man and thanks for the welcome :3

2 Likes

No problem! Please mark my (or bigminiboss’s as he was the one who suggested it first) post as the solution so the thread can close.

2 Likes