Traceback (most recent call last):


 "threading.py", line 916, in _bootstrap_inner


 "threading.py", line 864, in run


 "printrun/printcore.py", line 345, in _listen


 "printrun/printcore.py", line 308, in _listen_until_online


 "printrun/printcore.py", line 672, in _send
TypeError: write() argument must be str, not bytes

Traceback (most recent call last):


 "/usr/bin/salt-call", line 11, in <module>

salt_call()


 "/usr/lib/python3/dist-packages/salt/scripts.py", line 431, in salt_call

client.run()


 "/usr/lib/python3/dist-packages/salt/cli/call.py", line 47, in run

caller = salt.cli.caller.Caller.factory(self.config)


 "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 80, in factory

return ZeroMQCaller(opts, **kwargs)


 "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 332, in __init__

super(ZeroMQCaller, self).__init__(opts)


 "/usr/lib/python3/dist-packages/salt/cli/caller.py", line 106, in __init__

self.minion = salt.minion.SMinion(opts)


 "/usr/lib/python3/dist-packages/salt/minion.py", line 822, in __init__

salt.utils.yaml.safe_dump(cache_top, fp_)


 "/usr/lib/python3/dist-packages/salt/utils/yamldumper.py", line 129, in safe_dump

return yaml.dump(data, stream, Dumper=SafeOrderedDumper, **kwargs)


 "/usr/lib/python3/dist-packages/yaml/__init__.py", line 200, in dump

return dump_all([data], stream, Dumper=Dumper, **kwds)


 "/usr/lib/python3/dist-packages/yaml/__init__.py", line 188, in dump_all

dumper.represent(data)


 "/usr/lib/python3/dist-packages/yaml/representer.py", line 27, in represent

self.serialize(node)


 "ext/_yaml.pyx", line 1350, in _yaml.CEmitter.serialize (ext/_yaml.c:18773)


 "ext/_yaml.pyx", line 1525, in _yaml.output_handler (ext/_yaml.c:21549)
TypeError: a bytes-like object is required, not 'str'
