Traceback (most recent call last):

 "<stdin>", line 1, in <module>

 "/Library/Python/2.7/site-packages/werkzeug/test.py", line 760, in get
return self.open(*args, **kw)

 "/Library/Python/2.7/site-packages/flask/testing.py", line 108, in open
follow_redirects=follow_redirects)

 "/Library/Python/2.7/site-packages/werkzeug/test.py", line 724, in open
environ = args[0].get_environ()

 "/Library/Python/2.7/site-packages/werkzeug/test.py", line 573, in get_environ
for key, value in self.headers.to_wsgi_list():

 "/Library/Python/2.7/site-packages/werkzeug/datastructures.py", line 1185, in to_wsgi_list
return [(k, v.encode('latin1')) for k, v in self]UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-1: ordinal not in range(256)
Traceback (most recent call last):

 "/Users/qtpylib_user/anaconda3/envs/qtpylib/lib/python3.5/site-packages/pymysql/connections.py", line 1004, in _write_bytes
self._sock.sendall(data)BrokenPipeError: [Errno 32] Broken pipe