Skip to content

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

Description

@todd-cook

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions