Skip to content

codec error in winrm-exec.py 'utf-8' codec can't encode characters  #93

@EddyKIL

Description

@EddyKIL

Hi,
I'm getting the following error, when running job using py-winrm:

'utf-8' codec can't encode characters in position 4903-4904: surrogates not allowed (winrm-exec.py:339)[root]
My job is a simple listing of user directory: dir

Python version: 3.6
Windows nodes: Win Server 2016 Datacenter
py-winrm: 2.1.1

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