kquick / Thespian

Python Actor concurrency library
MIT License
189 stars 24 forks source link

ValueError: min() arg is an empty sequence for LogDefs with multiprocessing #70

Closed todd-cook closed 3 years ago

todd-cook commented 3 years ago

I created an Actor using a system base of multiprocTCPBase, and a convention address, I specified logDefs and used the example logDefs https://github.com/kquick/Thespian/blob/master/examples/logsetup.py#L10. Running on ubuntu, python:3.9.0-slim-buster.

Traceback (most recent call last): File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/opt/conda/lib/python3.8/site-packages/thespian/system/multiprocCommon.py", line 550, in startChild lowestLevel = minLevelIn( File "/opt/conda/lib/python3.8/site-packages/thespian/system/multiprocCommon.py", line 549, in minLevelIn = lambda l: min(list(l)) if list(l) else 0 ValueError: min() arg is an empty sequence

I have a fix for this which I will PR.

kquick commented 3 years ago

Released in version 3.10.4.