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

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

Closed
todd-cook opened this issue Jan 20, 2021 · 1 comment

Comments

@todd-cook
Copy link

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
Copy link
Owner

kquick commented May 13, 2021

Released in version 3.10.4.

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