I removed the omnipath cache to redownload many annotation resources using rm $HOME/.cache/omnipathdb/*. After this I tried downloading any of the resources available in Annotations and I'm getting urlib problems, here is a reproducible example:
import omnipath as op
op.requests.Annotations.get(resources='MSigDB', entity_type='protein')
This is the error:
IncompleteRead Traceback (most recent call last)
File ~/miniconda3/envs/dcp39/lib/python3.9/site-packages/urllib3/response.py:444, in HTTPResponse._error_catcher(self)
443 try:
--> 444 yield
446 except SocketTimeout:
447 # FIXME: Ideally we'd like to include the url in the ReadTimeoutError but
448 # there is yet no clean way to get at it from this context.
File ~/miniconda3/envs/dcp39/lib/python3.9/site-packages/urllib3/response.py:831, in HTTPResponse.read_chunked(self, amt, decode_content)
830 break
--> 831 chunk = self._handle_chunk(amt)
832 decoded = self._decode(
833 chunk, decode_content=decode_content, flush_decoder=False
834 )
File ~/miniconda3/envs/dcp39/lib/python3.9/site-packages/urllib3/response.py:775, in HTTPResponse._handle_chunk(self, amt)
774 elif amt < self.chunk_left:
--> 775 value = self._fp._safe_read(amt)
776 self.chunk_left = self.chunk_left - amt
File ~/miniconda3/envs/dcp39/lib/python3.9/http/client.py:628, in HTTPResponse._safe_read(self, amt)
627 if not chunk:
--> 628 raise IncompleteRead(b''.join(s), amt)
629 s.append(chunk)
IncompleteRead: IncompleteRead(7827 bytes read, 369 more expected)
I tried it with different resource names just to check if it might be a database specific problem but the same error happens. I have access to internet connection too and I'm working on my laptop (not in a server).
Hi,
I removed the omnipath cache to redownload many annotation resources using
rm $HOME/.cache/omnipathdb/*
. After this I tried downloading any of the resources available inAnnotations
and I'm getting urlib problems, here is a reproducible example:This is the error:
I tried it with different resource names just to check if it might be a database specific problem but the same error happens. I have access to internet connection too and I'm working on my laptop (not in a server).
These are the versions I'm running:
Could it be that the omnipath server is down?