-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Error running query: Working outside of application context #3662
Comments
Hey @gobird-yh, as noted in the github issue template, we use GitHub only for bug reports |
Hey @gobird-yh, you can try this.
|
If someone happens to have this again, can you please search your logs (before the Out of Context error message) for something like:
I think the issue is caused when |
hi, all
i get a problem.
env: win10 64bit
version: redash7.0.0(dev)
python: python2.7.15
IDE: pycharm2019.1 X64
npm: run watch
celery:celery worker --app=redash.worker --pool=eventlet -Qscheduled_queries,queries,celery -c2
flask:FLASK_APP = redash.wsgi
FLASK_ENV = development
FLASK_DEBUG = 1
python -m flask run
redash is running like ok. http://localhost:5000 can work;
but when use queries,excute error
i think the worker.py run not good.
the error information notice the app.app_context(),i cannot solve it.
can anyone solute the problem?
The text was updated successfully, but these errors were encountered: