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 User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
Ok ty I'll try I cant find it The 3rd one
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
KonstTheoGR
KonstTheoGR2y ago
Wait I jist saw view kek
KonstTheoGR
KonstTheoGR2y ago
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
stat .tmp/build/2417da00-72db-438d-be83-b5ea32980ae8/main.py/Dockerfile: not a directory
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
That's al All
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
No
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
Ok Ty
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
This or the webpage
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y 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 User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
Did u find anything
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
Ah ye Did you ping?
Adam
Adam2y ago
@KonstTheoGR please send a screenshot of the build logs as well. does your program work when launched locally?
KonstTheoGR
KonstTheoGR2y ago
it worked on replit
Adam
Adam2y ago
please send a screenshot of the build logs
KonstTheoGR
KonstTheoGR2y ago
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
jr
jr2y ago
Can you try redeploying
KonstTheoGR
KonstTheoGR2y ago
Wdym Do the whole thing again?
jr
jr2y ago
Yeah. Like push a new change to deploy again
KonstTheoGR
KonstTheoGR2y ago
Alr I'll try tomorrow I redeployed Doesn't seem to work
KonstTheoGR
KonstTheoGR2y ago
KonstTheoGR
KonstTheoGR2y 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 User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y 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 User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
Ok I'm doing everything correct what should I do But still doesn't respond
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
No Should it be It still goes online tho I'll try publishing it Still doesn't work
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
Ah lol
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
Of github or railway projext
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
Ok
KonstTheoGR
KonstTheoGR2y 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
Adam2y ago
you can change the project name in the project settings
KonstTheoGR
KonstTheoGR2y ago
Ok I couldn't find info about the funding system however How much do I pay monthly
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
It's not mentioned or I just don't see the price
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y ago
KonstTheoGR
KonstTheoGR2y ago
Click learn how credits are calculated?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
KonstTheoGR
KonstTheoGR2y 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
Adam2y ago
You’re right, it isn’t stable you pay for the CPU and RAM that you use, minus 5$ of credit
KonstTheoGR
KonstTheoGR2y ago
Ah ok
Adam
Adam2y ago
you can see the estimated usage of your projects if you scroll down on the usage page
KonstTheoGR
KonstTheoGR2y ago
Ik @A Dumb another question I didn't understand how to set the port for requests (FastApi)
Adam
Adam2y 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
KonstTheoGR2y ago
Ok ty and the link ngl?
Adam
Adam2y ago
not sure what you mean the port is a 4 digit number
KonstTheoGR
KonstTheoGR2y ago
Ik I dont get a link where the app is connected Like 0.0.0.0
Adam
Adam2y ago
have you exposed your app to the internet?
KonstTheoGR
KonstTheoGR2y ago
It's private Oh it must be public 😩
Want results from more Discord servers?
Add your server
More Posts