Shkurupii edited a comment on issue #11765:
URL: 
https://github.com/apache/incubator-superset/issues/11765#issuecomment-734307065


   I assume as reference you are using 
[config.py](https://github.com/apache/incubator-superset/blob/master/superset/config.py).
 As stated at the very beginning of file you should keep your overrides in 
superset_config.py. There is no need to keep every default setting in your 
file. Because of that it is also hard to understand what changes you made. In 
order to point your environment to your superset_config.py you can use an 
option suggested in config.py 
   ```
   # superset_config.py is located in my case is 
/opt/local/apache-superset/config directory
   export PYTHONPATH=/opt/local/apache-superset/config
   ```
   or another option is to export to your environment SUPERSET_CONFIG_PATH 
   ```
   export 
SUPERSET_CONFIG_PATH=/opt/local/apache-superset/config/superset_config.py
   ```
   SQLALCHEMY_DATABASE_URI looks oK.
   
   Command not found means you forgot to export paths with your binaries and 
superset in particular to your environment
   ```
   # in my case
   # python binaries live /opt/local/apache-superset/venv/bin here
   # geckodriver binary lives /opt/local/apache-superset/bin here
   # common bins live :/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin: 
here
   export 
PATH=/opt/local/apache-superset/venv/bin:/opt/local/apache-superset/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin
   ```
   
   Nice option for you could be `SCHEDULED_EMAIL_DEBUG_MODE = True`. When this 
option is enabled, celery worker will print email message in raw format to its 
logs. Could be useful for cases like yours, when superset configured with 
external email agent; superset will ignore email part of config, just leave 
them as is, and don't spend your time checking email server whether email is 
sent or bounced. It's up to you.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to