Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to import textblob from within celery task results in SIGSEGV. #55

Closed
LorenDavie opened this issue Feb 21, 2014 · 2 comments
Closed

Comments

@LorenDavie
Copy link

I'm attempting to use TextBlob within a Celery task. I've isolated the line

import textblob

as causing a SIGSEGV fault, causing the worker process to exit prematurely. The exactly same code works fine when run in-process (in this case, in the Django dev server).

I would supply more of a stacktrace, but there doesn't seem to be one available since it's a system level, fatal error. The import statement is definitely where it happens however.

If it's a misconfiguration / misuse on my end, any help is appreciated. Thanks!

@LorenDavie
Copy link
Author

Oh, whoops rest of details:

Django 1.5.1
Celery 3.1.8
textblob 0.8.4

Running on OS X Mavericks.

@jschnurr
Copy link
Collaborator

jschnurr commented Jan 1, 2018

This Celery issue, and that spaCy issue, seem to point toward TextBlob not being fork safe, though I can't reproduce the problem.

This is an old issue; will close it for now, but if anyone comes across it again, please try the workaround in the Celery thread, or post some code that demonstrates it, and we can re-open it.

@jschnurr jschnurr closed this as completed Jan 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants