Created
October 23, 2016 23:18
-
-
Save jtara1/2048f3495647bc982368f9cd41fb6126 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
j@j-desktop:~/Documents/_Github-Projects/turbo_palm_tree$ python3 test.py | |
/usr/local/lib/python3.5/dist-packages/image_match-1.0.2-py3.5.egg/image_match/goldberg.py:402: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future | |
POST http://localhost:9200/images/image [status:N/A request:0.000s] | |
Traceback (most recent call last): | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 137, in _new_conn | |
(self.host, self.port), self.timeout, **extra_kw) | |
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 91, in create_connection | |
raise err | |
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 81, in create_connection | |
sock.connect(sa) | |
ConnectionRefusedError: [Errno 111] Connection refused | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.5/dist-packages/elasticsearch-2.3.0-py3.5.egg/elasticsearch/connection/http_urllib3.py", line 94, in perform_request | |
response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw) | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 610, in urlopen | |
_stacktrace=sys.exc_info()[2]) | |
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 224, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/usr/lib/python3/dist-packages/six.py", line 686, in reraise | |
raise value | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 560, in urlopen | |
body=body, headers=headers) | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/lib/python3.5/http/client.py", line 1106, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/lib/python3.5/http/client.py", line 1151, in _send_request | |
self.endheaders(body) | |
File "/usr/lib/python3.5/http/client.py", line 1102, in endheaders | |
self._send_output(message_body) | |
File "/usr/lib/python3.5/http/client.py", line 934, in _send_output | |
self.send(msg) | |
File "/usr/lib/python3.5/http/client.py", line 877, in send | |
self.connect() | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 162, in connect | |
conn = self._new_conn() | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 146, in _new_conn | |
self, "Failed to establish a new connection: %s" % e) | |
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb8465ea160>: Failed to establish a new connection: [Errno 111] Connection refused | |
POST http://localhost:9200/images/image [status:N/A request:0.000s] | |
Traceback (most recent call last): | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 137, in _new_conn | |
(self.host, self.port), self.timeout, **extra_kw) | |
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 91, in create_connection | |
raise err | |
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 81, in create_connection | |
sock.connect(sa) | |
ConnectionRefusedError: [Errno 111] Connection refused | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.5/dist-packages/elasticsearch-2.3.0-py3.5.egg/elasticsearch/connection/http_urllib3.py", line 94, in perform_request | |
response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw) | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 610, in urlopen | |
_stacktrace=sys.exc_info()[2]) | |
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 224, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/usr/lib/python3/dist-packages/six.py", line 686, in reraise | |
raise value | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 560, in urlopen | |
body=body, headers=headers) | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/lib/python3.5/http/client.py", line 1106, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/lib/python3.5/http/client.py", line 1151, in _send_request | |
self.endheaders(body) | |
File "/usr/lib/python3.5/http/client.py", line 1102, in endheaders | |
self._send_output(message_body) | |
File "/usr/lib/python3.5/http/client.py", line 934, in _send_output | |
self.send(msg) | |
File "/usr/lib/python3.5/http/client.py", line 877, in send | |
self.connect() | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 162, in connect | |
conn = self._new_conn() | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 146, in _new_conn | |
self, "Failed to establish a new connection: %s" % e) | |
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb8465cf898>: Failed to establish a new connection: [Errno 111] Connection refused | |
POST http://localhost:9200/images/image [status:N/A request:0.000s] | |
Traceback (most recent call last): | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 137, in _new_conn | |
(self.host, self.port), self.timeout, **extra_kw) | |
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 91, in create_connection | |
raise err | |
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 81, in create_connection | |
sock.connect(sa) | |
ConnectionRefusedError: [Errno 111] Connection refused | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.5/dist-packages/elasticsearch-2.3.0-py3.5.egg/elasticsearch/connection/http_urllib3.py", line 94, in perform_request | |
response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw) | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 610, in urlopen | |
_stacktrace=sys.exc_info()[2]) | |
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 224, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/usr/lib/python3/dist-packages/six.py", line 686, in reraise | |
raise value | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 560, in urlopen | |
body=body, headers=headers) | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/lib/python3.5/http/client.py", line 1106, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/lib/python3.5/http/client.py", line 1151, in _send_request | |
self.endheaders(body) | |
File "/usr/lib/python3.5/http/client.py", line 1102, in endheaders | |
self._send_output(message_body) | |
File "/usr/lib/python3.5/http/client.py", line 934, in _send_output | |
self.send(msg) | |
File "/usr/lib/python3.5/http/client.py", line 877, in send | |
self.connect() | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 162, in connect | |
conn = self._new_conn() | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 146, in _new_conn | |
self, "Failed to establish a new connection: %s" % e) | |
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb84660b588>: Failed to establish a new connection: [Errno 111] Connection refused | |
POST http://localhost:9200/images/image [status:N/A request:0.000s] | |
Traceback (most recent call last): | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 137, in _new_conn | |
(self.host, self.port), self.timeout, **extra_kw) | |
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 91, in create_connection | |
raise err | |
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 81, in create_connection | |
sock.connect(sa) | |
ConnectionRefusedError: [Errno 111] Connection refused | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.5/dist-packages/elasticsearch-2.3.0-py3.5.egg/elasticsearch/connection/http_urllib3.py", line 94, in perform_request | |
response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw) | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 610, in urlopen | |
_stacktrace=sys.exc_info()[2]) | |
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 224, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/usr/lib/python3/dist-packages/six.py", line 686, in reraise | |
raise value | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 560, in urlopen | |
body=body, headers=headers) | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/lib/python3.5/http/client.py", line 1106, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/lib/python3.5/http/client.py", line 1151, in _send_request | |
self.endheaders(body) | |
File "/usr/lib/python3.5/http/client.py", line 1102, in endheaders | |
self._send_output(message_body) | |
File "/usr/lib/python3.5/http/client.py", line 934, in _send_output | |
self.send(msg) | |
File "/usr/lib/python3.5/http/client.py", line 877, in send | |
self.connect() | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 162, in connect | |
conn = self._new_conn() | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 146, in _new_conn | |
self, "Failed to establish a new connection: %s" % e) | |
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb8425c27b8>: Failed to establish a new connection: [Errno 111] Connection refused | |
Traceback (most recent call last): | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 137, in _new_conn | |
(self.host, self.port), self.timeout, **extra_kw) | |
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 91, in create_connection | |
raise err | |
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 81, in create_connection | |
sock.connect(sa) | |
ConnectionRefusedError: [Errno 111] Connection refused | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.5/dist-packages/elasticsearch-2.3.0-py3.5.egg/elasticsearch/connection/http_urllib3.py", line 94, in perform_request | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 610, in urlopen | |
_stacktrace=sys.exc_info()[2]) | |
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 224, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/usr/lib/python3/dist-packages/six.py", line 686, in reraise | |
raise value | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 560, in urlopen | |
body=body, headers=headers) | |
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/lib/python3.5/http/client.py", line 1106, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/lib/python3.5/http/client.py", line 1151, in _send_request | |
self.endheaders(body) | |
File "/usr/lib/python3.5/http/client.py", line 1102, in endheaders | |
self._send_output(message_body) | |
File "/usr/lib/python3.5/http/client.py", line 934, in _send_output | |
self.send(msg) | |
File "/usr/lib/python3.5/http/client.py", line 877, in send | |
self.connect() | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 162, in connect | |
conn = self._new_conn() | |
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 146, in _new_conn | |
self, "Failed to establish a new connection: %s" % e) | |
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb8425c27b8>: Failed to establish a new connection: [Errno 111] Connection refused | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "test.py", line 55, in <module> | |
ses.add_image('http://i.imgur.com/KUuRtTc.jpg') | |
File "/usr/local/lib/python3.5/dist-packages/image_match-1.0.2-py3.5.egg/image_match/signature_database_base.py", line 203, in add_image | |
File "/usr/local/lib/python3.5/dist-packages/image_match-1.0.2-py3.5.egg/image_match/elasticsearch_driver.py", line 92, in insert_single_record | |
File "/usr/local/lib/python3.5/dist-packages/elasticsearch-2.3.0-py3.5.egg/elasticsearch/client/utils.py", line 69, in _wrapped | |
File "/usr/local/lib/python3.5/dist-packages/elasticsearch-2.3.0-py3.5.egg/elasticsearch/client/__init__.py", line 279, in index | |
File "/usr/local/lib/python3.5/dist-packages/elasticsearch-2.3.0-py3.5.egg/elasticsearch/transport.py", line 329, in perform_request | |
File "/usr/local/lib/python3.5/dist-packages/elasticsearch-2.3.0-py3.5.egg/elasticsearch/connection/http_urllib3.py", line 105, in perform_request | |
elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fb8425c27b8>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fb8425c27b8>: Failed to establish a new connection: [Errno 111] Connection refused) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment