If a script gets called via configuration management (in my case salt-stack), it fails. If called via shell it works.
I used the tool dumpenv to differences of the environments.
The getfilesystemencoding() is different:
The environment variables look not much different:
What causes the getfilesystemencoding() to be wrong on the right side?
Python version: 2.7
from getfilesystemencoding() differs if called via configuration management


No comments:
Post a Comment