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
superset_config.py doesn't work #2117
Comments
Looks like superset has created new "superset.db" in the path you specified. Thats why its working. Check once. Superset will create a path If path doesn't exist. |
@pawan-kv The noooo, this is not a good way, because i can build the source code. in supersete/config.py, |
Maybe Im not getting you quite right. But this is how we can override "config.py" default settings:
Thats it. |
Thanks @pawan-kv! |
Didn't work for me in superset 0.18.0 . When setting
What did work is setting the full path to the file, not just directory. |
We just ran into this. If the option is for the config file, not path, can it be changed to:
|
HI all , i am getting below issue can any one help Traceback (most recent call last): |
|
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
0.15.0
Expected results
the parameters in
superset_config.py
should work.Actual results
the parameters in
superset_config.py
don't work.Steps to reproduce
vim superset_config.py
SQLALCHEMY_DATABASE_URI = 'sqlite:////path/to/superset.db' DRUID_IS_ACTIVE = False
and
mv superset_config.py /usr/local/superset
add PYTHONPATH in /etc/profile
export PYTHONPATH=/usr/local/superset:$PYTHONPATH
or
export PYTHONPATH=/usr/local/superset
source /etc/profile
run superset
I set wrong
SQLALCHEMY_DATABASE_URI
but superset still worksso the superset_config.py doesn't works, something wrong?
The text was updated successfully, but these errors were encountered: