botify-labs / simpleflow

Python library for dataflow programming.
https://botify-labs.github.com/simpleflow/
MIT License
68 stars 24 forks source link

Simpleflow CLI not working on Mac #410

Closed ybastide closed 1 year ago

ybastide commented 1 year ago
simpleflow decider.start -d TestDomain -N2 examples.basic.BasicWorkflow
2022-11-21T12:50:47 INFO [process=MainProcess, pid=22636]: starting <bound method Poller.start of DeciderPoller(TestDomain, example, basic)>
Traceback (most recent call last):
[...]
  File "/opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
_pickle.PicklingError: Can't pickle <function Poller.start at 0x107e984c0>: it's not the same object as simpleflow.swf.process.poller.Poller.start
ybastide commented 1 year ago

Fixed in 892f6f574a4c6efb38db3a57f45328fbbbce3d5d.