R
Railway2y ago
Jed

gunicorn error (app was working fine before)

/bin/bash: line 1: gunicorn: command not found
30 Replies
Percy
Percy2y ago
Project ID: N/A
Jed
JedOP2y ago
N/A my app was working before then suddenly i am getting that error
Brody
Brody2y ago
send your repo again please
Jed
JedOP2y ago
gunicorn is in my requirements and this is my procfile web: gunicorn --timeout 600 main:server
Jed
JedOP2y ago
GitHub
GitHub - Vasallius/momo-flask
Contribute to Vasallius/momo-flask development by creating an account on GitHub.
Brody
Brody2y ago
you have a package.json in there now, railway runs a language check for node before it runs the check for python so it detects node and stops thus never installing any of the modules in the requirements.txt file
Jed
JedOP2y ago
ah shit do i just delete both package and apckage-lock
Brody
Brody2y ago
do you need them?
Jed
JedOP2y ago
dont think so i think it intalled when i was trying to install tailwind ill remove them now and see
Brody
Brody2y ago
yeah I don't see any JavaScript files
Jed
JedOP2y ago
ty error got removed
Brody
Brody2y ago
awesome
Jed
JedOP2y ago
one quick question do fonts really load slowly or smth
Jed
JedOP2y ago
website looks gucci already just took about 15 seconds to load the proper fonts
Brody
Brody2y ago
they shouldn't?
Jed
JedOP2y ago
i have the fonts stored on local folder btw
Jed
JedOP2y ago
Jed
JedOP2y ago
is that bad practice
Brody
Brody2y ago
bad practice for a high traffic website, sure. bad practice for you, no it's totally fine
Jed
JedOP2y ago
ok ok ty finally it worked so brother the reason why it wasnt working last time was just because US is geoblocked from the api HAHAHA thanks for all the help
Brody
Brody2y ago
so how'd you get around that?
Jed
JedOP2y ago
use diff api hahah dats all
Brody
Brody2y ago
whos api are you using now
Jed
JedOP2y ago
some unofficial api megadab
Brody
Brody2y ago
hmmmm
Jed
JedOP2y ago
how to close an issue btw like close this help question
Brody
Brody2y ago
I just mark them as solved I'm not gonna go ratting you out, but just so you know using unofficial APIs through railway can be grounds for a ban
Jed
JedOP2y ago
ohhh it's unofficial but widely used oh no im using the ccxt library i mean technically the library uses the official api just different methods?
Jed
JedOP2y ago
GitHub
GitHub - ccxt/ccxt: A JavaScript / Python / PHP cryptocurrency trad...
A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges - GitHub - ccxt/ccxt: A JavaScript / Python / PHP cryptocurrency trading API with sup...
Brody
Brody2y ago
meh you're prob fine, carry on
Want results from more Discord servers?
Add your server