You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2020-07-30 17:40:23,038: ERROR/ForkPoolWorker-2] Task alerts.run_query[40817edc-ac3e-4f5c-899b-59a5f07fbf6e] raised unexpected: TimeoutException('', None, None)
Traceback (most recent call last):
File "/Users/--/src/incubator-superset/super_venv/lib/python3.7/site-packages/celery/app/trace.py", line 412, in trace_task
R = retval = fun(*args, **kwargs)
File "/Users/--/src/incubator-superset/superset/app.py", line 115, in __call__
return task_base.__call__(self, *args, **kwargs)
File "/Users/--/src/incubator-superset/super_venv/lib/python3.7/site-packages/celery/app/trace.py", line 704, in __protected_call__
return self.run(*args, **kwargs)
File "/Users/--/src/incubator-superset/superset/tasks/schedules.py", line 559, in schedule_alert_query
if run_alert_query(schedule, dbsession):
File "/Users/--/src/incubator-superset/superset/tasks/schedules.py", line 655, in run_alert_query
deliver_alert(alert)
File "/Users/--/src/incubator-superset/superset/tasks/schedules.py", line 591, in deliver_alert
user=user, cache=thumbnail_cache, force=True,
File "/Users/--/src/incubator-superset/superset/utils/screenshots.py", line 298, in compute_and_cache
payload = self.get_screenshot(user=user, window_size=window_size)
File "/Users/--/src/incubator-superset/superset/utils/screenshots.py", line 220, in get_screenshot
self.screenshot = driver.get_screenshot(self.url, self.element, user)
File "/Users/--/src/incubator-superset/superset/utils/screenshots.py", line 163, in get_screenshot
EC.presence_of_element_located((By.CLASS_NAME, element_name))
File "/Users/--/src/incubator-superset/super_venv/lib/python3.7/site-packages/selenium/webdriver/support/wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.94. Please mark this comment with 👍 or 👎 to give our bot feedback!
https://github.com/apache/incubator-superset/blob/16459ad401d916d0ce7ca6ffa6775fdcb8a37ae8/superset-frontend/src/explore/components/ExploreChartPanel.jsx#L131 In #10302 this element was changed from
<div>
to<Styles>
and now it cannot be located by WebDrivers. Specifically causing errors in the celery taskalerts.run_query
at https://github.com/apache/incubator-superset/blob/c9cb723cab321b82c3153f1a2b9fde27e9270106/superset/utils/screenshots.py#L162Expected results
Celery task to find the element in the DOM without error
Actual results
[2020-07-30 16:24:16,303: ERROR/ForkPoolWorker-1] Selenium timed out
Stacktrace is abstracted behind https://github.com/apache/incubator-superset/blob/c9cb723cab321b82c3153f1a2b9fde27e9270106/superset/utils/screenshots.py#L171
How to reproduce the bug
Environment
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
The text was updated successfully, but these errors were encountered: