You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "gonzo-soc (via GitHub)" <gi...@apache.org> on 2023/02/06 23:11:21 UTC
[GitHub] [superset] gonzo-soc commented on issue #22326: Error Report Failed Taking Screenshot
gonzo-soc commented on issue #22326:
URL: https://github.com/apache/superset/issues/22326#issuecomment-1419918172
Had the same bug. But found a workaround)
**Firstly**
I rolled back Apache Superset version from superset-helm-chart-0.8.5 to v2.0.0 didn't work.
**Then**
After a week investigation I finally found the _workaround_: use **firefox** as a webdriver and the most important part - use **GECKODRIVER_VERSION=v0.29.0**, the latest version of the driver gave me the error _Failed taking a screenshot Message: Argument --marionette can't be set via capabilities_. Want to note that Apache Superset documentation has the same version in its configuration files (**GECKODRIVER_VERSION=v0.29.0**), so pay attention: https://superset.apache.org/docs/installation/alerts-reports
Now I am going to test the latest version of Apache Superset - superset-helm-chart-0.8.5 and will let you know about result.
Also want note _Chrome webdriver couldn't be forced to work_)
Final configuration (superset_config_docker.py):
`ENABLE_SCHEDULED_EMAIL_REPORTS = True
ALERT_REPORTS_NOTIFICATION_DRY_RUN = False
SMTP_HOST = "smtp.somedomain.com" # change to your host
SMTP_PORT = 25 # your port, e.g. 587
SMTP_STARTTLS = False
SMTP_SSL_SERVER_AUTH = False # If your using an SMTP server with a valid certificate
SMTP_SSL = False
SMTP_USER = "" # use the empty string "" if using an unauthenticated SMTP server
SMTP_PASSWORD = "" # use the empty string "" if using an unauthenticated SMTP server
SMTP_MAIL_FROM = "admin@admin.com"
EMAIL_REPORTS_SUBJECT_PREFIX = "[SELLC Superset-dev] report" # optional - overwrites default value in config.py of "[Report] "
# This is for internal use, you can keep http
WEBDRIVER_BASEURL = "http://superset:8088"
# This is the link sent to the recipient. Change to your domain, e.g. https://superset.mydomain.com
WEBDRIVER_BASEURL_USER_FRIENDLY = "http://localhost:8088"
SCREENSHOT_LOCATE_WAIT = 100
SCREENSHOT_LOAD_WAIT = 1200
THUMBNAIL_SELENIUM_USER = "admin"
SQLALCHEMY_ECHO = True
SCREENSHOT_LOCATE_WAIT = 100
SCREENSHOT_LOAD_WAIT = 1200`
Good luck!
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org