-
-
Save marnovo/c88ae219e7a8787bd6a09d2396af6c5d 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
dev/env/bblfsh-test > venv .venv | |
dev/env/bblfsh-test > source .venv/bin/activate | |
dev/env/bblfsh-test via .venv > pip3 install git+https://github.com/bblfsh/client-python && python3 -m bblfsh -f pytest.py | |
Collecting git+https://github.com/bblfsh/client-python | |
Cloning https://github.com/bblfsh/client-python to /private/var/folders/6w/2cr2_w3105l84d478jd8z7240000gq/T/pip-kdhfmadk-build | |
Collecting grpcio (from bblfsh==1.0.0) | |
Using cached grpcio-1.4.0-cp36-cp36m-macosx_10_7_intel.whl | |
Collecting docker (from bblfsh==1.0.0) | |
Downloading docker-2.4.2-py2.py3-none-any.whl (110kB) | |
100% |████████████████████████████████| 112kB 3.0MB/s | |
Collecting protobuf>=3.3.0 (from grpcio->bblfsh==1.0.0) | |
Using cached protobuf-3.3.0.tar.gz | |
Collecting six>=1.5.2 (from grpcio->bblfsh==1.0.0) | |
Using cached six-1.10.0-py2.py3-none-any.whl | |
Collecting docker-pycreds>=0.2.1 (from docker->bblfsh==1.0.0) | |
Using cached docker_pycreds-0.2.1-py2.py3-none-any.whl | |
Collecting requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.5.2 (from docker->bblfsh==1.0.0) | |
Using cached requests-2.18.1-py2.py3-none-any.whl | |
Collecting websocket-client>=0.32.0 (from docker->bblfsh==1.0.0) | |
Using cached websocket_client-0.44.0-py2.py3-none-any.whl | |
Requirement already satisfied: setuptools in ./.venv/lib/python3.6/site-packages (from protobuf>=3.3.0->grpcio->bblfsh==1.0.0) | |
Collecting idna<2.6,>=2.5 (from requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.5.2->docker->bblfsh==1.0.0) | |
Using cached idna-2.5-py2.py3-none-any.whl | |
Collecting chardet<3.1.0,>=3.0.2 (from requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.5.2->docker->bblfsh==1.0.0) | |
Using cached chardet-3.0.4-py2.py3-none-any.whl | |
Collecting certifi>=2017.4.17 (from requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.5.2->docker->bblfsh==1.0.0) | |
Using cached certifi-2017.4.17-py2.py3-none-any.whl | |
Collecting urllib3<1.22,>=1.21.1 (from requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.5.2->docker->bblfsh==1.0.0) | |
Using cached urllib3-1.21.1-py2.py3-none-any.whl | |
Installing collected packages: six, protobuf, grpcio, docker-pycreds, idna, chardet, certifi, urllib3, requests, websocket-client, docker, bblfsh | |
Running setup.py install for protobuf ... done | |
Running setup.py install for bblfsh ... done | |
Successfully installed bblfsh-1.0.0 certifi-2017.4.17 chardet-3.0.4 docker-2.4.2 docker-pycreds-0.2.1 grpcio-1.4.0 idna-2.5 protobuf-3.3.0 requests-2.18.1 six-1.10.0 urllib3-1.21.1 websocket-client-0.44.0 | |
Traceback (most recent call last): | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen | |
chunked=chunked) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 356, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/local/Cellar/python3/3.6.0/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) | |
File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request | |
self.endheaders(body, encode_chunked=encode_chunked) | |
File "/usr/local/Cellar/python3/3.6.0/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) | |
File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output | |
self.send(msg) | |
File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send | |
self.connect() | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/docker/transport/unixconn.py", line 33, in connect | |
sock.connect(self.unix_socket) | |
FileNotFoundError: [Errno 2] No such file or directory | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/requests/adapters.py", line 440, in send | |
timeout=timeout | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 649, in urlopen | |
_stacktrace=sys.exc_info()[2]) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/urllib3/util/retry.py", line 357, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/urllib3/packages/six.py", line 685, in reraise | |
raise value.with_traceback(tb) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen | |
chunked=chunked) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/urllib3/connectionpool.py", line 356, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/local/Cellar/python3/3.6.0/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) | |
File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request | |
self.endheaders(body, encode_chunked=encode_chunked) | |
File "/usr/local/Cellar/python3/3.6.0/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) | |
File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output | |
self.send(msg) | |
File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send | |
self.connect() | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/docker/transport/unixconn.py", line 33, in connect | |
sock.connect(self.unix_socket) | |
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/docker/api/client.py", line 166, in _retrieve_server_version | |
return self.version(api_version=False)["ApiVersion"] | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/docker/api/daemon.py", line 177, in version | |
return self._result(self._get(url), json=True) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/docker/utils/decorators.py", line 46, in inner | |
return f(self, *args, **kwargs) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/docker/api/client.py", line 189, in _get | |
return self.get(url, **self._set_request_timeout(kwargs)) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/requests/sessions.py", line 515, in get | |
return self.request('GET', url, **kwargs) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/requests/sessions.py", line 502, in request | |
resp = self.send(prep, **send_kwargs) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/requests/sessions.py", line 612, in send | |
r = adapter.send(request, **kwargs) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/requests/adapters.py", line 490, in send | |
raise ConnectionError(err, request=request) | |
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main | |
"__main__", mod_spec) | |
File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code | |
exec(code, run_globals) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/bblfsh/__main__.py", line 34, in <module> | |
sys.exit(main()) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/bblfsh/__main__.py", line 28, in main | |
ensure_bblfsh_is_running() | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/bblfsh/launcher.py", line 9, in ensure_bblfsh_is_running | |
client = docker.from_env(version="auto") | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/docker/client.py", line 80, in from_env | |
**kwargs_from_env(**kwargs)) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/docker/client.py", line 37, in __init__ | |
self.api = APIClient(*args, **kwargs) | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/docker/api/client.py", line 147, in __init__ | |
self._version = self._retrieve_server_version() | |
File "/Users/mnovaes/dev/env/bblfsh-test/.venv/lib/python3.6/site-packages/docker/api/client.py", line 174, in _retrieve_server_version | |
'Error while fetching server API version: {0}'.format(e) | |
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment