Skip to content

Instantly share code, notes, and snippets.

Created March 12, 2018 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8f5da42eefcfed9187fa207fd44cb232 to your computer and use it in GitHub Desktop.
Save anonymous/8f5da42eefcfed9187fa207fd44cb232 to your computer and use it in GitHub Desktop.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3061: ordinal not in range(128)
2018-03-12 12:47:55,608 [salt.master :1643][ERROR ][1392] Error in function _serve_file:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/salt/master.py", line 1633, in run_func
ret = getattr(self, func)(load)
File "/usr/local/lib/python3.6/site-packages/salt/fileserver/__init__.py", line 602, in serve_file
return self.servers[fstr](load, fnd)
File "/usr/local/lib/python3.6/site-packages/salt/fileserver/roots.py", line 138, in serve_file
data = data.decode(__salt_system_encoding__)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3061: ordinal not in range(128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment