You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Hello. I have the same exact issue. When executing a python script locally, it works fine. When executing through rundeck using WinRMPython, I get the error message:
[ERROR ] 'utf-8' codec can't encode characters in position 2329-2330: surrogates not allowed (winrm-exec.py:379)[root]
I'm also not outputting any complicated log. Just 3 lines of information. I get the error when using logging module or a basic print.
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
The text was updated successfully, but these errors were encountered: