Skip to content

If predictions output logs without a newline, then prediction breaks when using redis queue #377

Open
@bfirsh

Description

@bfirsh

This was a fun bug. If you do something like sys.stderr.write("hellooo") without a newline at the end, then predictions throw the error Cannot close a process while it is still running. You should first call join() or terminate()..

This is because the sentinel exit value in LogProcess isn't matched.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededtype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions