-
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
Scheduled email worker is reporting an error #9498
Comments
I'm closing this since I got no response. |
@sweileh were you able to resolve this in the end? I'm experiencing this issue too. |
after reading the code: https://github.com/apache/incubator-superset/blob/master/superset/tasks/schedules.py#L170 looks like EMAIL_REPORTS_WEBDRIVER is not set to chrome or firefox - that's causing the exception |
Sorry for the late response. |
I am also facing the Email issue on the superset SMTP configuration |
I have an issue with scheduled email of superset.
After installing superset in containers using docker-compose, everything is working perfectly except for the scheduled email feature.
After following exactly what is in the superset installation and configuration page (regarding the report emails), the worker that does the email task is reporting the below error.
Expected results
What is expected is for the worker to successfully send the email.
Actual results
When I send it as test email I get the below error:
When I wait for the cron to occur, I got the following error:
Screenshots
This error is when I check the test email.
this error is when I wait for the cron to occur.
How to reproduce the bug
Used the following Dockerfile (same as original but added the webdrivers to it and exposed 8088 port and 5555 port for flower).
Used the following configuration file (same as original, but added the schedule email configurations):
The .env file
I tried both web drivers (firefox and chrome) and got the same error with both
Finally, below is my docker-compose file (similar to original file but with extra worker, celery beat for email and flower added)
Environment
all the versions are what is exactly in the
master
.Checklist
Make sure these boxes are checked before submitting your issue - thank you!
Additional context
ps. I think it might be in the email report configurations, but I have been trying to solve it for almost 2 days. I though it might be the webdrivers but the code does not reach that point. The unbounded local error occur when the code tries to set the webdriver instance to headless.
I also changed the docker file to install chrome as in miteshchavda reply here and I also changed the driver to chrome, but I still got the same issue.
Thanks in advance
The text was updated successfully, but these errors were encountered: