-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flask Deprecation warnings on install #986
Comments
The suggestion is to understand that warnings are not errors and so there's no need to open issues here :) Also it has already been taken care of them in master. |
Thanks. Perhaps my issue was a little vague; I'm seeing these warnings loop after I start caravel. I see a cycle of workers starting, these warnings, workers dying, then the cycle repeating indefinitely. Upgrading to the version of Caravel currently in Master (latest commit is 30ef8eb), I still see this cycle of errors, and am unable to load caravel via a browser;
|
@dugjason vague is an understatement, it's more unrelated :) It looks like there's something wrong with your gunicorn conf as the master can't talk with workers. Is it the default one? |
Yes; default gunicorn config. gunicorn is not a tool I'm familiar with; is there anything in particular I should be looking at? |
My guess is you might have system restrictions of some kind. What kind of environment are you in? You probably want to run your own gunicorn command at this point to debug. Make it a single worker, and use --log-level=DEBUG. |
I'm running on a pretty standard Ubuntu 14.04.5 install on EC2. Looks like it starts to load caravel, then gunicorn fails on importing the app;
Apologies if the |
@dugjason gunicorn -w1 --log-level=DEBUG caravel:app |
Thanks! Running that seems to successfully start the app, but it does not seem to be accessible from the browser (I've double checked the correct ports are open, etc).
|
@dugjason you are binding to 127.0.0.1 so unless you are on your machine or have a tunnel you need a proxy or need to bind to another interface. Anyway try to replicate your issue with the debug flag so we can see if there's something wrong in caravel. |
Thanks @xrmx, @mistercrunch ; that seems to have done it. Running I'm happy to continue helping debug what was causing the problem with running Caravel using the |
I am getting below error. can any one help : UserWarning: Flask-Cache: CACHE_TYPE is set to null, caching is effectively disabled. |
@chethankt completely unrelated, please don't hijack issues. Looks like a permission issue. |
Notice: this issue has been closed because it has been inactive for 467 days. Feel free to comment and request for this issue to be reopened. |
I'm receiving the following warnings when pip installing Caravel 0.10.0 on Ubuntu (Python 2.7.11)
I've run upgrades to various Flask packages, but continue to see this error. Does anyone have any suggestions?
The text was updated successfully, but these errors were encountered: