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

database disk image is malformed #54

Open
EperLuo opened this issue Jul 3, 2024 · 1 comment
Open

database disk image is malformed #54

EperLuo opened this issue Jul 3, 2024 · 1 comment
Labels
question Further information is requested

Comments

@EperLuo
Copy link

EperLuo commented Jul 3, 2024

Please ask questions about how to use recount3 on the
Bioconductor Support Site using the
appropriate tag(s) including the one for this package.

Note. Update the issue title to concisely describe the bug.

Hi! Thank you for this wonderful work. I was trying to download data via create_rse function, but encounter the following bug:

2024-07-03 17:09:59.968347 caching file sra.sra.SRP167804.MD.gz.
adding rname 'http://duffel.rail.bio/recount3/mouse/data_sources/sra/metadata/04/SRP167804/sra.sra.SRP167804.MD.gz'
Error in BiocFileCache::bfcrpath(bfc, url, exact = TRUE, verbose = verbose) : 
  not all 'rnames' found or unique.
Calls: create_rse ... file_retrieve -> vapply -> FUN -> <Anonymous> -> <Anonymous>
In addition: Warning message:
In value[[3L]](cond) : 
trying to add rname 'http://duffel.rail.bio/recount3/mouse/data_sources/sra/metadata/04/SRP167804/sra.sra.SRP167804.MD.gz' produced error:
  database disk image is malformed
Execution halted

Provide a minimally reproducible example (reprex)

This is my code. I can use it to download some of the datasets. But for most of the dataset, the above error occurred.

  proj_info <- subset(
    projects,
    project == SRA_Accession & project_type == "data_sources"
  )

  rse_gene <- create_rse(proj_info[1,])

I wonder if it is an internet connection problem. Can I manage to solve it? Any response would be much appreciated!

@lcolladotor
Copy link
Member

Hi @EperLuo,

I believe that you are running into the issue described at Bioconductor/BiocFileCache#48 and curl/curl#13725.

What is the output of curl::curl_version() for you? Is it version 8.6.0?

best,
Leo

@lcolladotor lcolladotor added the question Further information is requested label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants