https://prefect.io logo
Title
a

alexsis

01/16/2020, 11:58 AM
Hey here! We are getting some experiments with Prefect by trying use it to manage workflows within microservices. We use Nameko framework to work with microservices. Nameko uses Eventlet to manage tasks within. For this case I thought we can use Prefect as local executor. The problem we faced with is Prefect try to fork process without any success:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/context.py", line 238, in get_context
    return super().get_context(method)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/context.py", line 193, in get_context
    ctx._check_available()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/context.py", line 306, in _check_available
    raise ValueError('forkserver start method not available')
Has anybody had an experience with using Prefect in eventlet based frameworks?
d

Dylan

01/16/2020, 4:48 PM
Hi @alexsis! I’d love to hear a little bit more about your use case. Would you be willing to share a little information about your flow and your goal?
c

Chris White

01/16/2020, 4:58 PM
Hi @alexsis - this is most likely caused by your OS (the
forkserver
method is not available on all platforms) and is unrelated to Prefect; could you share some details about the underlying operating system?