Traceback (most recent call last):


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

local_vdata = _mbcs_to_unicode_wrap(vdata, local_vtype)


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

return _mbcs_to_unicode(obj)


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

return six.text_type(instr, 'mbcs')
TypeError: coercing to Unicode: need string or buffer, long found 

Traceback (most recent call last):


 "/usr/lib/python3.6/site-packages/spyder/widgets/helperwidgets.py", line 127, in paint

textRect = style.subElementRect(QStyle.SE_ItemViewItemText, options)
TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments
