Eventlet seems to be incompatible with multiprocessing/pool.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
taskflow |
Fix Released
|
Critical
|
Joshua Harlow | ||
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The internals of multiprocessing
Exception in thread Thread-3:
Traceback (most recent call last):
File "/home/
self.run()
File "/home/
self.
File "/home/
if thread._state:
AttributeError: '_MainThread' object has no attribute '_state'
Likely the eventlet monkey patching does not patch this attribute (is this attribute is a hidden internal of the threading module?). We likely either need to figure out a different pool and use that or pretty clearly document this case and create a threaded impl that will work with eventlet.
Easy way to hit this:
import eventlet
eventlet.
Then try to use the threaded engine.
description: | updated |
Changed in taskflow: | |
importance: | Undecided → Critical |
Changed in taskflow: | |
assignee: | nobody → Joshua Harlow (harlowja) |
Changed in taskflow: | |
status: | New → In Progress |
Changed in taskflow: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu: | |
status: | New → Invalid |
Upstream eventlet issue @ https:/ /bitbucket. org/eventlet/ eventlet/ issue/156