Open Vido opened 7 years ago
I'm actually working on a similar package (https://github.com/sklarsa/django-sendgrid-v4) and am experiencing a billiard
-related error in a celery task. I'm digging into it a little deeper now to see if I can find anything:
Traceback (most recent call last):
File "/Users/steven/predata/venv/lib/python2.7/site-packages/billiard/pool.py", line 1175, in mark_as_worker_lost
human_status(exitcode)),
WorkerLostError: Worker exited prematurely: signal 11 (SIGSEGV).
It actually looks like my error is matplotlib-related (different from yours)... Are all of your celery workers running the same version of python_http_client
?
@sklarsa , I just ditched sendgrid-django in favor of sendgrid-python.
@Vido there doesn't appear to be an issue with compatibility between sendgrid-django and celery. Instead, your API request failed with error 400:
python_http_client.exceptions.BadRequestsError: HTTPError()
...and then the error class failed to pickle for some reason:
billiard.pool.MaybeEncodingError: Error sending result: '"(1, <ExceptionInfo: BadRequestsError('HTTPError()',)>, None)"'. Reason: ''PicklingError("Can\'t pickle <class \'python_http_client.exceptions.BadRequestsError\'>: it\'s not the same object as python_http_client.exceptions.BadRequestsError",)''.
This isn't a sendgrid-django error. Recommend closing.
Hi guys!
Does sendgrid-django works well with Celery?