EGA-archive / ega-download-client

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

Dowload error #226

Closed sjy0907 closed 5 months ago

sjy0907 commented 5 months ago

Error prompt

[2024-06-23 12:27:07 +0800] [2024-06-23 12:27:07 +0800] pyEGA3 - EGA python client version 5.2.0 (https://github.com/EGA-archive/ega-download-client) [2024-06-23 12:27:07 +0800] Parts of this software are derived from pyEGA (https://github.com/blachlylab/pyega) by James Blachly [2024-06-23 12:27:07 +0800] Python version : 3.12.4 [2024-06-23 12:27:07 +0800] OS version : Linux #112~20.04.1-Ubuntu SMP Thu Mar 14 14:28:24 UTC 2024 [2024-06-23 12:27:07 +0800] Server URL: https://ega.ebi.ac.uk:8443/v2 [2024-06-23 12:27:07 +0800] Session-Id: 2880280069 [2024-06-23 12:27:15 +0800] [2024-06-23 12:27:15 +0800] Authentication success for user 'user@xxx'

There was a problem communicating with the EGA repository: 403 Client Error: for url: https://ega.ebi.ac.uk:8443/v2/metadata/files/EGAF00002053511

Hello, this is the error while downloading datasets using pyega3 client. @AlexanderSenf

CsabaHalmagyi commented 5 months ago

Hi @sjy0907 Could you please share the full error log (including the command you are issueing)?

sjy0907 commented 5 months ago

Hi @sjy0907 Could you please share the full error log (including the command you are issueing)?

Hello, Csaba Halmagyi. Because my reply E-mail seems to have failed to send, I contact you via GitHub. I tried it again, and the following error appeared.

pyega3 -c 5 -cf CREDENTIALS_FILE.json fetch EGAF00002053511

[2024-06-24 16:44:51 +0800] [2024-06-24 16:44:51 +0800] pyEGA3 - EGA python client version 5.2.0 (https://github.com/EGA-archive/ega-download-client) [2024-06-24 16:44:51 +0800] Parts of this software are derived from pyEGA (https://github.com/blachlylab/pyega) by James Blachly [2024-06-24 16:44:51 +0800] Python version : 3.12.4 [2024-06-24 16:44:51 +0800] OS version : Linux #117~20.04.1-Ubuntu SMP Tue Apr 30 10:35:57 UTC 2024 [2024-06-24 16:44:51 +0800] Server URL: https://ega.ebi.ac.uk:8443/v2 [2024-06-24 16:44:51 +0800] Session-Id: 540642859 [2024-06-24 16:45:19 +0800] [2024-06-24 16:45:19 +0800] Authentication success for user liuxs@xxxxxx [2024-06-24 16:45:31 +0800] There was a problem communicating with the EGA repository: 403 Client Error: for url: https://ega.ebi.ac.uk:8443/v2/metadata/files/EGAF00002053511

At the same time, I also found that I have access to a dataset 'EGAD00001004218', but pyega3 shows that Dataset 'EGAD00001004218' is not in the list of your authorized datasets. image

pyega3 -c 5 -cf CREDENTIALS_FILE.json fetch EGAD00001004218

[2024-06-24 16:54:23 +0800] [2024-06-24 16:54:23 +0800] pyEGA3 - EGA python client version 5.2.0 (https://github.com/EGA-archive/ega-download-client) [2024-06-24 16:54:23 +0800] Parts of this software are derived from pyEGA (https://github.com/blachlylab/pyega) by James Blachly [2024-06-24 16:54:23 +0800] Python version : 3.12.4 [2024-06-24 16:54:23 +0800] OS version : Linux #117~20.04.1-Ubuntu SMP Tue Apr 30 10:35:57 UTC 2024 [2024-06-24 16:54:23 +0800] Server URL: https://ega.ebi.ac.uk:8443/v2 [2024-06-24 16:54:23 +0800] Session-Id: 2551123495 [2024-06-24 16:54:37 +0800] [2024-06-24 16:54:37 +0800] Authentication success for user liuxs@xxxxxx [2024-06-24 16:54:56 +0800] Dataset 'EGAD00001004218' is not in the list of your authorized datasets. [2024-06-24 16:54:56 +0800] Download complete

My pyega3_output.log ```shell [2024-06-24 16:44:51 +0800] [2024-06-24 16:44:51 +0800] pyEGA3 - EGA python client version 5.2.0 (https://github.com/EGA-archive/ega-download-client) [2024-06-24 16:44:51 +0800] Parts of this software are derived from pyEGA (https://github.com/blachlylab/pyega) by James Blachly [2024-06-24 16:44:51 +0800] Python version : 3.12.4 [2024-06-24 16:44:51 +0800] OS version : Linux #117~20.04.1-Ubuntu SMP Tue Apr 30 10:35:57 UTC 2024 [2024-06-24 16:44:51 +0800] Server URL: https://ega.ebi.ac.uk:8443/v2 [2024-06-24 16:44:51 +0800] Session-Id: 540642859 [2024-06-24 16:45:19 +0800] [2024-06-24 16:45:19 +0800] Authentication success for user 'liuxs@shanghaitech.edu.cn' [2024-06-24 16:45:31 +0800] There was a problem communicating with the EGA repository: 403 Client Error: for url: https://ega.ebi.ac.uk:8443/v2/metadata/files/EGAF00002053511 [2024-06-24 16:54:23 +0800] [2024-06-24 16:54:23 +0800] pyEGA3 - EGA python client version 5.2.0 (https://github.com/EGA-archive/ega-download-client) [2024-06-24 16:54:23 +0800] Parts of this software are derived from pyEGA (https://github.com/blachlylab/pyega) by James Blachly [2024-06-24 16:54:23 +0800] Python version : 3.12.4 [2024-06-24 16:54:23 +0800] OS version : Linux #117~20.04.1-Ubuntu SMP Tue Apr 30 10:35:57 UTC 2024 [2024-06-24 16:54:23 +0800] Server URL: https://ega.ebi.ac.uk:8443/v2 [2024-06-24 16:54:23 +0800] Session-Id: 2551123495 [2024-06-24 16:54:37 +0800] [2024-06-24 16:54:37 +0800] Authentication success for user 'liuxs@shanghaitech.edu.cn' [2024-06-24 16:54:56 +0800] Dataset 'EGAD00001004218' is not in the list of your authorized datasets. [2024-06-24 16:54:56 +0800] Download complete ```

I would like to know how to solve these problems. Thank you very much for your time and I am looking forward to your early reply.

CsabaHalmagyi commented 5 months ago

Hi @sjy0907

This seems to be a permission issue rather than a software error. Please contact EGA Helpdesk directly at helpdesk@ega-archive.org and tell them you do not have access to the dataset in pyega3. They should be able to fix it. Closing this issue, as this is not for the attention of the dev team.

sjy0907 commented 5 months ago

Hi @sjy0907

This seems to be a permission issue rather than a software error. Please contact EGA Helpdesk directly at helpdesk@ega-archive.org and tell them you do not have access to the dataset in pyega3. They should be able to fix it. Closing this issue, as this is not for the attention of the dev team.

Okay, thank you for your reply.