visakhmurukes opened a new issue #8860: Getting an error trying to configure 
celery task for scheduled email delivery of chart
URL: https://github.com/apache/incubator-superset/issues/8860
 
 
   The superset_config.py file is modified to set up scheduled job for email 
delivery of a sample chart
   as per this
   https://superset.incubator.apache.org/installation.html#celery-tasks
   
   But when celery worker is setup and with beat running when chart is 
scheduled we're getting an error as below in the celery worker
   
   **[2019-12-18 07:38:23,115: WARNING/MainProcess] Soft time limit (300s) 
exceeded for email_reports.send[37eb6c91-a9a6-4bc2-8d7c-29a15f4595ad]
   [2019-12-18 07:53:23,118: ERROR/MainProcess] Task handler raised error: 
TimeLimitExceeded(1200,)
   Traceback (most recent call last):
     File "/usr/local/lib/python3.6/site-packages/billiard/pool.py", line 658, 
in on_hard_timeout
       raise TimeLimitExceeded(job._timeout)
   billiard.exceptions.TimeLimitExceeded: TimeLimitExceeded(1200,)
   [2019-12-18 07:53:23,121: ERROR/MainProcess] Hard time limit (1200s) 
exceeded for email_reports.send[37eb6c91-a9a6-4bc2-8d7c-29a15f4595ad]
   [2019-12-18 07:53:23,230: ERROR/MainProcess] Process 'ForkPoolWorker-1' 
pid:55090 exited with 'signal 9 (SIGKILL)'
   [2019-12-18 07:56:15,319: ERROR/ForkPoolWorker-2] Task 
email_reports.send[5cd213ea-ca7d-4629-886e-ec982eb18528] raised unexpected: 
WebDriverException('Failed to decode response from marionette', None, None)
   Traceback (most recent call last):
     File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 
382, in trace_task
       R = retval = fun(*args, **kwargs)
     File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 
641, in __protected_call__
       return self.run(*args, **kwargs)
     File "/home/superset/superset/tasks/schedules.py", line 394, in 
schedule_email_report
       deliver_slice(schedule)
     File "/home/superset/superset/tasks/schedules.py", line 363, in 
deliver_slice
       email = _get_slice_visualization(schedule)
     File "/home/superset/superset/tasks/schedules.py", line 326, in 
_get_slice_visualization
       driver.get(slice_url)
     File 
"/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py",
 line 333, in get
       self.execute(Command.GET, {'url': url})
     File 
"/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py",
 line 321, in execute
       self.error_handler.check_response(response)
     File 
"/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py",
 line 242, in check_response
       raise exception_class(message, screen, stacktrace)
   selenium.common.exceptions.WebDriverException: Message: Failed to decode 
response from marionette**
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version 
of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

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

Reply via email to