-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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 not running. Error in config file #3909
Comments
@masterlittle Please Are you following step by step superset installation? |
Yeah. It works if I don't give a config path. And now I got it working after hardcoding the BASE_DIR variable in my config file. I think the issue was that this line-- It keeps the BASE_DIR as the same directory as the config file and does not build the static/assets path there. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
faced the same exact issue and fixed it by changing the BASE_DIR as @masterlittle suggested. Thanks |
Make sure these boxes are checked before submitting your issue - thank you!
When giving the SUPERSET_CONFIG_PATH as /home/superset/superset_config.py, I am getting the following error --
Traceback (most recent call last):
File "/usr/local/bin/superset", line 12, in
from superset.cli import manager
File "/usr/local/lib/python2.7/dist-packages/superset/init.py", line 21, in
from superset import utils, config # noqa
File "/usr/local/lib/python2.7/dist-packages/superset/config.py", line 350, in
override_conf = imp.load_source('superset_config', os.environ[CONFIG_PATH_ENV_VAR])
File "/home/superset/superset_config.py", line 41, in
with open(PACKAGE_FILE) as package_file:
IOError: [Errno 2] No such file or directory: u'/home/superset/static/assets/package.json'
Looks like it is searching for the assets in a relative path to the config file. How to resolve this?
Superset version
0.20.6
Expected results
Actual results
Steps to reproduce
The text was updated successfully, but these errors were encountered: