EGA-archive / ega-download-client

A Python-based EGA download client
Apache License 2.0
94 stars 52 forks source link

Having trouble running test dataset #136

Closed jalalsiddiqui closed 3 years ago

jalalsiddiqui commented 3 years ago

I cannot run the test datasets. The error I am getting is as follows:

(pyega3env) -bash-4.2$ pyega3 -d -t datasets [2021-10-22 16:16:25 -0400] [2021-10-22 16:16:25 -0400] pyEGA3 - EGA python client version 3.4.1 (https://github.com/EGA-archive/ega-download-client) [2021-10-22 16:16:25 -0400] Parts of this software are derived from pyEGA (https://github.com/blachlylab/pyega) by James Blachly [2021-10-22 16:16:25 -0400] Python version : 3.9.7 [2021-10-22 16:16:25 -0400] OS version : Linux #1 SMP Thu Jul 8 02:53:40 UTC 2021 [2021-10-22 16:16:25 -0400] Server URL: https://ega.ebi.ac.uk:8052/elixir/data [2021-10-22 16:16:25 -0400] Session-Id: 2435106043 [2021-10-22 16:16:25 -0400] Starting new HTTPS connection (1): ega.ebi.ac.uk:8443 [2021-10-22 16:17:25 -0400] https://ega.ebi.ac.uk:8443 "POST /ega-openid-connect-server/token HTTP/1.1" 504 168 [2021-10-22 16:17:25 -0400] [2021-10-22 16:17:25 -0400] Invalid username, password or secret key - please check and retry. If problem persists contact helpdesk on helpdesk@ega-archive.org Traceback (most recent call last): File "/users/PAS1143/osu8165/.conda/envs/pyega3env/lib/python3.9/site-packages/pyega3/pyega3.py", line 144, in get_token reply = r.json() File "/users/PAS1143/osu8165/.conda/envs/pyega3env/lib/python3.9/site-packages/requests/models.py", line 910, in json return complexjson.loads(self.text, **kwargs) File "/users/PAS1143/osu8165/.conda/envs/pyega3env/lib/python3.9/json/init.py", line 346, in loads return _default_decoder.decode(s) File "/users/PAS1143/osu8165/.conda/envs/pyega3env/lib/python3.9/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/users/PAS1143/osu8165/.conda/envs/pyega3env/lib/python3.9/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

malloryfreeberg commented 3 years ago

Hi @jalalsiddiqui . Thank you for reporting this issue. Please, can you try the command again? The error you reported is an intermittent issue that should now be resolved. If the problem persists, please email helpdesk@ega-archive.org with the issue so our helpdesk staff can assist you further. Thank you for using pyega3!

jalalsiddiqui commented 3 years ago

Thank you so much. I just checked and it works great!