Wednesday, 21 August 2019

getfilesystemencoding() differs if called via configuration management

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:

dumpenv-getfilesystemencoding-differs

The environment variables look not much different:

dumpenv-os-environment-variables

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