thammaneni opened a new issue #9501: scheduling tasks are delivering partially URL: https://github.com/apache/incubator-superset/issues/9501 A clear and concise description of what the bug is: ------------------------------------------------------- I have created 20 email schedule jobs with every hr crontab frequency and receiving 13 emails out of 20. The 13 are random from 20 and the error from celery worker process saying utf-8 Encoded error as below. We are using redis as db storage for celery backend . Please provide you suggestions on this. ERROR info: ------------ [2020-04-10 05:30:02,785: ERROR/ForkPoolWorker-5] Task email_reports.send[9e03400e-06b7-4a79-9e2f-40674ed1f663] raised unexpected: UnicodeDecodeError('utf-8', b'PK\x03\x04\x14\x00\x00\x00\x08\x00\x00\x00?\x00a]I:O\x01\x00\x00\x8f\x04\x00\x00\x13\x00\x00\x00[Content_Types].xml\xad\x94\xcbn\xc20\x10E\xf7\xfd\x8a\xc8\xdb*1tQU\x15\x81E\x1f\xcb\x16\xa9\xf4\x03\\{B', 22, 23, 'invalid start byte') Traceback (most recent call last): File "/usr/local/python3.7/lib/python3.7/site-packages/celery/app/trace.py", line 382, in trace_task R = retval = fun(*args, **kwargs) File "/usr/local/python3.7/lib/python3.7/site-packages/celery/app/trace.py", line 641, in __protected_call__ return self.run(*args, **kwargs) File "/home/superset/Superset-supersetv3.18/superset/tasks/schedules.py", line 769, in schedule_email_report deliver_slice(schedule) File "/home/superset/Superset-supersetv3.18/superset/tasks/schedules.py", line 738, in deliver_slice email = _get_slice_data_xls(schedule) File "/home/superset/Superset-supersetv3.18/superset/tasks/schedules.py", line 439, in _get_slice_data_xls link=url, File "/usr/local/python3.7/lib/python3.7/site-packages/flask/templating.py", line 135, in render_template context, ctx.app) File "/usr/local/python3.7/lib/python3.7/site-packages/flask/templating.py", line 117, in _render rv = template.render(context) File "/usr/local/python3.7/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render return original_render(self, *args, **kwargs) File "/usr/local/python3.7/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render return self.environment.handle_exception(exc_info, True) File "/usr/local/python3.7/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/local/python3.7/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise raise value.with_traceback(tb) File "/home/superset/Superset-supersetv3.18/superset/templates/superset/reports/slice_data.html", line 34, in top-level template code <th bgcolor='#f0f0f0'>{{ column.decode('utf-8') | replace('_', ' ') | title }}</th> UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8f in position 22: invalid start byte ### Expected results #### Screenshots If applicable, add screenshots to help explain your problem. #### How to reproduce the bug 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error ### Environment (please complete the following information): - superset version: `superset version` 0.33 version - python version: `python --version` 3.7 - node.js version: `node -v` - npm version: `npm -v` ### Checklist 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. - [ ] I have reproduced the issue with at least the latest released version of superset. - [ ] I have checked the issue tracker for the same issue and I haven't found one similar. ### Additional context Add any other context about the problem here.
---------------------------------------------------------------- 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]
