Skip to content

Maximum message size exceeded on su in python3.7.1 #437

Closed
@syntonym

Description

@syntonym

Trying to use router.su leads me to the following error message on python 3.7.1:

E mitogen: Maximum message size exceeded (got 1768910423, max 134217728)

I tested against 0.2.0, 0.2.1, 0.2.2, 0.2.3 from pypi, and the current master branch (22de7f0), all with the same result. On python version 2.7.15 the same code does not through this error (only tested against 22de7f0).

su from util-linux 2.33 and kernel 4.19.4.arch1-1.

Code used:

import mitogen.utils
import getpass

mitogen.utils.log_to_file()
@mitogen.utils.run_with_router
def main(router):
    router.enable_debug()
    router.su(username="syntonym", password=getpass.getpass())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions