
Comment: An exception occurred in this state: Traceback (most recent call last):


 "c:\salt\bin\lib\site-packages\salt\state.py", line 1876, in call

**cdata['kwargs'])


 "c:\salt\bin\lib\site-packages\salt\loader.py", line 1823, in wrapper

return f(*args, **kwargs)


 "c:\salt\bin\lib\site-packages\salt\states\reg.py", line 187, in present

use_32bit_registry=use_32bit_registry)


 "c:\salt\bin\lib\site-packages\salt\modules\reg.py", line 367, in read_value

local_vname = _to_unicode(vname)


 "c:\salt\bin\lib\site-packages\salt\modules\reg.py", line 86, in _to_unicode

return salt.utils.stringutils.to_unicode(vdata, 'utf-8')


 "c:\salt\bin\lib\site-packages\salt\utils\stringutils.py", line 115, in to_unicode

raise TypeError('expected str or bytearray')

TypeError: expected str or bytearray

Started: 21:35:54.939000


Traceback (most recent call last):


 "C:\salt\bin\lib\site-packages\salt\pillar\__init__.py", line 515, in get_tops

saltenv


 "C:\salt\bin\lib\site-packages\salt\fileclient.py", line 194, in cache_file

path, u'', True, saltenv, cachedir=cachedir, source_hash=source_hash)


 "C:\salt\bin\lib\site-packages\salt\fileclient.py", line 513, in get_url

result = self.get_file(url, dest, makedirs, saltenv, cachedir=cachedir)


 "C:\salt\bin\lib\site-packages\salt\fileclient.py", line 871, in get_file

path = self._check_proto(path)


 "C:\salt\bin\lib\site-packages\salt\fileclient.py", line 113, in _check_proto

file_path, saltenv = salt.utils.url.parse(path)


 "C:\salt\bin\lib\site-packages\salt\utils\url.py", line 38, in parse

path = salt.utils.sanitize_win_path_string(path)


 "C:\salt\bin\lib\site-packages\salt\utils\__init__.py", line 1259, in sanitize_win_path_string

winpath = winpath.translate(trantab)

TypeError: character mapping must return integer, None or unicode
