Skip to content

Function send can't read User Input from stdin #2

Open
@Wickan-lab

Description

@Wickan-lab

I was playing a bit with this tool, since i needed it for some testing (mainly receiving messages). I also tried sending messages on a PUB socket and nothing was received on the other endpoint.

With a bit of debugging I noticed that the wrapped_input.readline() function does not read correctly. My use case is pretty simple, so i opted for good ol' input() and messages were sent correctly.

I do not know if it is due to shell encoding or python version or something else, so I'd be happy to discuss it further.

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