Traceback (most recent call last):


 "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 349, in render_jinja_tmpl

output = template.render(**decoded_context)


 "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 989, in render

return self.environment.handle_exception(exc_info, True)


 "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 754, in handle_exception

reraise(exc_type, exc_value, tb)


 "<template>", line 1, in top-level template code


 "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 1033, in make_module

return TemplateModule(self, self.new_context(vars, shared, locals))


 "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 1090, in __init__

self._body_stream = list(template.root_render_func(context))


 "/var/cache/salt/minion/files/base/salt/map.jinja", line 43, in top-level template code

{% set os_family_map = salt['grains.filter_by']({
TypeError: coercing to Unicode: need string or buffer, int found

Traceback (most recent call last):


 "D:\software\Python36\lib\threading.py", line 916, in _bootstrap_inner

self.run()


 "D:\software\Python36\lib\threading.py", line 864, in run

self._target(*self._args, **self._kwargs)


 "D:\software\Python36\lib\multiprocessing\pool.py", line 463, in _handle_results

task = get()


 "D:\software\Python36\lib\multiprocessing\connection.py", line 251, in recv

return _ForkingPickler.loads(buf.getbuffer())
TypeError: __init__() takes 1 positional argument but 3 were given
