Problem with errors

Hi, I'm new to railway and github and idk much about it. I transferred all the code from replit to github and all the stuff, but the Bot doesn't come online. How can i see errors in my code?
69 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
Ok ty I'll try I cant find it The 3rd one
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
KonstTheoGR
KonstTheoGROP3y ago
Wait I jist saw view kek
KonstTheoGR
KonstTheoGROP3y ago
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
stat .tmp/build/2417da00-72db-438d-be83-b5ea32980ae8/main.py/Dockerfile: not a directory
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
That's al All
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
No
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
Ok Ty
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
This or the webpage
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
Railway
Railway
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
Did u find anything
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
Ah ye Did you ping?
Adam
Adam3y ago
@KonstTheoGR please send a screenshot of the build logs as well. does your program work when launched locally?
KonstTheoGR
KonstTheoGROP3y ago
it worked on replit
Adam
Adam3y ago
please send a screenshot of the build logs
KonstTheoGR
KonstTheoGROP3y ago
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
jr
jr3y ago
Can you try redeploying
KonstTheoGR
KonstTheoGROP3y ago
Wdym Do the whole thing again?
jr
jr3y ago
Yeah. Like push a new change to deploy again
KonstTheoGR
KonstTheoGROP3y ago
Alr I'll try tomorrow I redeployed Doesn't seem to work
KonstTheoGR
KonstTheoGROP3y ago
KonstTheoGR
KonstTheoGROP3y ago
File "main.py", line 720 botrun() ^ SyntaxError: invalid syntax The deploy logs X10 times Oh i found it I think during the file transfer between replit and github syntax error was creqted Will it restart by itself? Finally it went online ty However it doesn't reply to my commands And it doesn't log an error in deploy logs Application doesn't respond
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
I use nextcord . Yeah i saw it afterwards Install packages using pip install -r requirements.txt Start the bot using python main.py Where can i run it Also is Procfile mandatory
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
Ok I'm doing everything correct what should I do But still doesn't respond
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
No Should it be It still goes online tho I'll try publishing it Still doesn't work
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
Ah lol
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
Of github or railway projext
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
Ok
KonstTheoGR
KonstTheoGROP3y ago
The interaction is sent to the code and it's used, but the response does not reach discord Code is run tho Ran* I think this may be an error of nextcord It may be outdated but idk I solved it Idr how but I did Ty Also how can i change a project's name It's posh-can and the other I don't remember
Adam
Adam3y ago
you can change the project name in the project settings
KonstTheoGR
KonstTheoGROP3y ago
Ok I couldn't find info about the funding system however How much do I pay monthly
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
It's not mentioned or I just don't see the price
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
KonstTheoGR
KonstTheoGROP3y ago
Click learn how credits are calculated?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGROP3y ago
Yes So that's how it's calculated I mean it isn't stable I still didn't get it About the dev plan
Adam
Adam3y ago
You’re right, it isn’t stable you pay for the CPU and RAM that you use, minus 5$ of credit
KonstTheoGR
KonstTheoGROP3y ago
Ah ok
Adam
Adam3y ago
you can see the estimated usage of your projects if you scroll down on the usage page
KonstTheoGR
KonstTheoGROP3y ago
Ik @A Dumb another question I didn't understand how to set the port for requests (FastApi)
Adam
Adam3y ago
If you mean the port that the app should be listening on, you can set that manually in your code or set the PORT environment variable
KonstTheoGR
KonstTheoGROP3y ago
Ok ty and the link ngl?
Adam
Adam3y ago
not sure what you mean the port is a 4 digit number
KonstTheoGR
KonstTheoGROP3y ago
Ik I dont get a link where the app is connected Like 0.0.0.0
Adam
Adam3y ago
have you exposed your app to the internet?
KonstTheoGR
KonstTheoGROP3y ago
It's private Oh it must be public 😩
Want results from more Discord servers?
Add your server