Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/elasticsearch-6.2.0-py3.6.egg/elasticsearch/connection/http_urllib3.py", line 166, in perform_request

response = self.pool.urlopen(method, url, body, retries=False, headers=request_headers, **kw)


 "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen

_stacktrace=sys.exc_info()[2])


 "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 333, in increment

raise six.reraise(type(error), error, _stacktrace)


 "/usr/local/lib/python3.6/site-packages/urllib3/packages/six.py", line 685, in reraise

raise value.with_traceback(tb)


 "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen

chunked=chunked)


 "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 357, in _make_request

conn.request(method, url, **httplib_request_kw)


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request

self._send_request(method, url, body, headers, encode_chunked)


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request

self.endheaders(body, encode_chunked=encode_chunked)


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders

self._send_output(message_body, encode_chunked=encode_chunked)


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1065, in _send_output

self.send(chunk)


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 986, in send

self.sock.sendall(data)
urllib3.exceptions.ProtocolError: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe'))

Traceback (most recent call last):

 "C:\Users\Lenovo\Anaconda3\lib\logging\__init__.py", line 1025, in emit
msg = self.format(record)

 "C:\Users\Lenovo\Anaconda3\lib\logging\__init__.py", line 869, in format
return fmt.format(record)

 "C:\Users\Lenovo\Anaconda3\lib\logging\__init__.py", line 608, in format
record.message = record.getMessage()

 "C:\Users\Lenovo\Anaconda3\lib\logging\__init__.py", line 369, in getMessage
msg = msg % self.argsValueError: incomplete format