Open TimothyStephens opened 2 years ago
Ummm, I've never seen that before. Perhaps @nvictus has an idea since it's the pybbi package complaining?
Something is up with the latest pybbi binaries for MacOS. The wheel for v0.3.2 was supposed to have been built on a 10.9 system, but the error message says that some dependencies were built on OS X 11.
Tim, could you try downgrading pybbi
to version 0.3.1 or 0.3.0?
I downgraded pybbi
to version 0.3.0 and now get a different error.
$ higlass-manage view sample.mcool
Traceback (most recent call last):
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen
chunked=chunked,
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1281, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1327, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1276, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1036, in _send_output
self.send(msg)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 976, in send
self.connect()
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/transport/unixconn.py", line 30, 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/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/requests/adapters.py", line 450, in send
timeout=timeout
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/connectionpool.py", line 786, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen
chunked=chunked,
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1281, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1327, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1276, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1036, in _send_output
self.send(msg)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 976, in send
self.connect()
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/transport/unixconn.py", line 30, 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/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/api/client.py", line 214, in _retrieve_server_version
return self.version(api_version=False)["ApiVersion"]
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/api/daemon.py", line 181, in version
return self._result(self._get(url), json=True)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/api/client.py", line 237, in _get
return self.get(url, **self._set_request_timeout(kwargs))
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/requests/sessions.py", line 542, in get
return self.request('GET', url, **kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/requests/adapters.py", line 501, 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 "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/higlass_manage/view.py", line 78, in view
temp_dir = get_temp_dir(hg_name)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/higlass_manage/common.py", line 268, in get_temp_dir
client = docker.from_env()
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/client.py", line 101, in from_env
**kwargs_from_env(**kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/client.py", line 45, in __init__
self.api = APIClient(*args, **kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/api/client.py", line 197, in __init__
self._version = self._retrieve_server_version()
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/api/client.py", line 222, in _retrieve_server_version
f'Error while fetching server API version: {e}'
docker.errors.DockerException: Error while fetching server API version: ('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/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen
chunked=chunked,
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1281, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1327, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1276, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1036, in _send_output
self.send(msg)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 976, in send
self.connect()
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/transport/unixconn.py", line 30, 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/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/requests/adapters.py", line 450, in send
timeout=timeout
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/connectionpool.py", line 786, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen
chunked=chunked,
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1281, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1327, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1276, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 1036, in _send_output
self.send(msg)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/http/client.py", line 976, in send
self.connect()
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/transport/unixconn.py", line 30, 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/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/api/client.py", line 214, in _retrieve_server_version
return self.version(api_version=False)["ApiVersion"]
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/api/daemon.py", line 181, in version
return self._result(self._get(url), json=True)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/api/client.py", line 237, in _get
return self.get(url, **self._set_request_timeout(kwargs))
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/requests/sessions.py", line 542, in get
return self.request('GET', url, **kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/requests/adapters.py", line 501, 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 "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/bin/higlass-manage", line 8, in <module>
sys.exit(cli())
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/higlass_manage/view.py", line 81, in view
_start(hg_name=hg_name)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/higlass_manage/start.py", line 177, in _start
client = docker.from_env()
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/client.py", line 101, in from_env
**kwargs_from_env(**kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/client.py", line 45, in __init__
self.api = APIClient(*args, **kwargs)
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/api/client.py", line 197, in __init__
self._version = self._retrieve_server_version()
File "/Users/timothystephens/opt/miniconda2/envs/highglass-manager/lib/python3.7/site-packages/docker/api/client.py", line 222, in _retrieve_server_version
f'Error while fetching server API version: {e}'
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
That seems to be a docker issue. Do you have docker installed and running on your Mac?
You are right. I didn't have docker correctly installed on my Mac. After fixing this higlass-manage now runs on my system. Thank you for all of your help.
Hi,
I am encountering the below error when trying to run
higlass-manage view
using the test dataset. I am running it through command line on a Mac (Mojave V10.14.6).Here is my conda environment
Thanks for your help. Tim.