R
Railway15mo ago
Jed

gunicorn error (app was working fine before)

/bin/bash: line 1: gunicorn: command not found
30 Replies
Percy
Percy15mo ago
Project ID: N/A
Jed
Jed15mo ago
N/A my app was working before then suddenly i am getting that error
Brody
Brody15mo ago
send your repo again please
Jed
Jed15mo ago
gunicorn is in my requirements and this is my procfile web: gunicorn --timeout 600 main:server
Jed
Jed15mo ago
GitHub
GitHub - Vasallius/momo-flask
Contribute to Vasallius/momo-flask development by creating an account on GitHub.
Brody
Brody15mo 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
Jed15mo ago
ah shit do i just delete both package and apckage-lock
Brody
Brody15mo ago
do you need them?
Jed
Jed15mo ago
dont think so i think it intalled when i was trying to install tailwind ill remove them now and see
Brody
Brody15mo ago
yeah I don't see any JavaScript files
Jed
Jed15mo ago
ty error got removed
Brody
Brody15mo ago
awesome
Jed
Jed15mo ago
one quick question do fonts really load slowly or smth
Jed
Jed15mo ago
website looks gucci already just took about 15 seconds to load the proper fonts
Brody
Brody15mo ago
they shouldn't?
Jed
Jed15mo ago
i have the fonts stored on local folder btw
Jed
Jed15mo ago
Jed
Jed15mo ago
is that bad practice
Brody
Brody15mo ago
bad practice for a high traffic website, sure. bad practice for you, no it's totally fine
Jed
Jed15mo 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
Brody15mo ago
so how'd you get around that?
Jed
Jed15mo ago
use diff api hahah dats all
Brody
Brody15mo ago
whos api are you using now
Jed
Jed15mo ago
some unofficial api megadab
Brody
Brody15mo ago
hmmmm
Jed
Jed15mo ago
how to close an issue btw like close this help question
Brody
Brody15mo 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
Jed15mo 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
Jed15mo 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
Brody15mo ago
meh you're prob fine, carry on