Traceback (most recent call last):


 "/usr/lib/python2.7/dist-packages/salt/ext/tornado/ioloop.py", line 606, in _run_callback

ret = callback()


 "/usr/lib/python2.7/dist-packages/salt/ext/tornado/stack_context.py", line 278, in null_wrapper

return fn(*args, **kwargs)


 "/usr/lib/python2.7/dist-packages/zmq/eventloop/zmqstream.py", line 536, in <lambda>

self.io_loop.add_callback(lambda : self._handle_events(self.socket, 0))


 "/usr/lib/python2.7/dist-packages/zmq/eventloop/zmqstream.py", line 454, in _handle_events

self._handle_send()


 "/usr/lib/python2.7/dist-packages/zmq/eventloop/zmqstream.py", line 493, in _handle_send

status = self.socket.send_multipart(msg, **kwargs)


 "/usr/lib/python2.7/dist-packages/zmq/sugar/socket.py", line 434, in send_multipart

i, rmsg,
TypeError: Frame 0 (u'Some exception handling minion...) does not support the buffer interface.

Traceback (most recent call last):


 "run_squad.py", line 1077, in <module>

main()


 "run_squad.py", line 1073, in main

args.version_2_with_negative, args.null_score_diff_threshold)


 "run_squad.py", line 619, in write_predictions

writer.write(json.dumps(all_predictions, indent=4) + "\n")
TypeError: write() argument 1 must be unicode, not str
