Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdcRNADownload error with GDC-client #11

Open
IL2liu opened this issue Aug 21, 2019 · 4 comments
Open

gdcRNADownload error with GDC-client #11

IL2liu opened this issue Aug 21, 2019 · 4 comments

Comments

@IL2liu
Copy link

IL2liu commented Aug 21, 2019

When using the follwing code:

####### Download mature miRNA data #######
gdcRNADownload(project.id     = 'TCGA-BRCA', 
               data.type      = 'miRNAs', 
               write.manifest = FALSE,
               method         = 'gdc-client',
               directory      = mirdir)
  • I got the following error, that haven't been solved.*

ERROR: An unexpected error has occurred during normal operation of the client. Please report the following exception to GDC support [email protected].
ERROR: 'NoneType' object has no attribute 'status_code'
Traceback (most recent call last):
File "gdc-client", line 99, in
File "build\bdist.win-amd64\egg\gdc_client\download\parser.py", line 111, in download
File "build\bdist.win-amd64\egg\gdc_client\download\client.py", line 234, in download_small_groups
File "build\bdist.win-amd64\egg\gdc_client\download\client.py", line 171, in download_tarfile
AttributeError: 'NoneType' object has no attribute 'status_code'
ERROR: Exiting
Traceback (most recent call last):
File "logging_init
.py", line 861, in emit
File "logging_init_.py", line 734, in format
File "build\bdist.win-amd64\egg\gdc_client\log\log.py", line 36, in format
File "logging_init_.py", line 465, in format
File "logging_init_.py", line 325, in getMessage
TypeError: str returned non-string (type SysCallError)
Logged from file client.py, line 150

@IL2liu
Copy link
Author

IL2liu commented Aug 22, 2019

Following the suggestion of Dr. Li, This problem was solved by using update R to 3.6.1 .

Thank you for your help.

@MahsaMonshizade
Copy link

MahsaMonshizade commented Jun 5, 2020

Hi.
I have this problem too. I updated my r to the latest version(4.0.0) but I still get this error. I would appreciate it if someone could help me.

@BioLiu
Copy link

BioLiu commented Jul 3, 2020

Hi.
I have this problem too. I updated my r to the latest version(4.0.0) but I still get this error. I would appreciate it if someone could help me.

Hi.
I got the same problem. I found gdc-client has different packages for different Python version, you can check it in their web site. I checked code of gdcRNADownload.R and didn't found related test the version of Python; it downloads the gdc-client for Python 2.7. I solved the problem by downloading the gdc-client according to the version of Python of my platform, since my version is Python 3, I downloaded gdc-client_v1.5.0 and solved the problem.
Best wishes!

@romylland
Copy link

Hi.
I have this problem too. I updated my r to the latest version(4.0.0) but I still get this error. I would appreciate it if someone could help me.

Hi @mahsa-moony were you able to fix your problem? I was in the same situation as you but following @BioLiu's suggestion it solved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants