Error in .util_download
還沒有人認領這個 Issue。
評估
研究方向
Locate the .util_download entry point and trace how bfcadd() passes the supplied proxy to the download request. Reproduce the example with the proxy and inspect warnings(); the issue does not specify a desired behavior or completion condition, so the expected fix must first be clarified.
由索引模型根據 Issue 內容生成。
描述
library(BiocFileCache)
path <- tempfile()
bfc <- BiocFileCache(path, ask = FALSE)
remoteresource <- "https://bioconductorhubs.blob.core.windows.net/annotationhub/goldenpath/hg19/database/stsMap_0.0.1.RData"
proxy <- "http://prox1:3128/"
bfcadd(bfc, rname = "uniquename", fpath = remoteresource, proxy = proxy)
Error in .util_download(x, rid[i], proxy, progress, config, "bfcadd()", :
bfcadd() failed; see warnings()
In addition: Warning messages:
1: download failed
web resource path: ‘https://bioconductorhubs.blob.core.windows.net/annotationhub/goldenpath/hg19/database/stsMap_0.0.1.RData’
local file path: ‘/tmp/RtmpUyiOdh/fileff3f2260f4cc2/ff3f27e6e41cc_stsMap_0.0.1.RData’
reason: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_disk()`:
! Couldn't resolve proxy name [bioconductorhubs.blob.core.windows.net]:
Could not resolve proxy: prox1
2: bfcadd() failed; resource removed
rid: BFC1
fpath: ‘https://bioconductorhubs.blob.core.windows.net/annotationhub/goldenpath/hg19/database/stsMap_0.0.1.RData’
reason: download failed
packageDescription("BiocFileCache")
Package: BiocFileCache
Title: Manage Files Across Sessions
Version: 2.99.5
Authors@R: c(person("Lori", "Shepherd", email =
"[email protected]", role = c("aut", "cre")),
person("Martin", "Morgan", email =
"[email protected]", role = "aut"))
Description: This package creates a persistent on-disk cache of
files that the user can add, update, and retrieve. It is
useful for managing resources (such as custom Txdb
objects) that are costly or difficult to create, web
resources, and data files used across sessions.
Depends: R (>= 3.4.0), dbplyr (>= 1.0.0)
Imports: methods, stats, utils, dplyr, RSQLite, DBI, filelock,
curl, httr2
BugReports: https://github.com/Bioconductor/BiocFileCache/issues
DevelopmentURL: https://github.com/Bioconductor/BiocFileCache
License: Artistic-2.0
Encoding: UTF-8
RoxygenNote: 7.3.2
biocViews: DataImport
VignetteBuilder: knitr
Suggests: testthat, knitr, BiocStyle, rmarkdown, rtracklayer
git_url: https://git.bioconductor.org/packages/BiocFileCache
git_branch: devel
git_last_commit: e88fb8e
git_last_commit_date: 2025-05-15
Repository: Bioconductor 3.22
Date/Publication: 2025-05-18
NeedsCompilation: no
Packaged: 2025-05-18 20:18:32 UTC; biocbuild
Author: Lori Shepherd [aut, cre], Martin Morgan [aut]
Maintainer: Lori Shepherd <[email protected]>
Built: R 4.5.0; ; 2025-07-15 14:00:26 UTC; unix
- 主要語言
- R
- 星號
- 14
- 分支
- 9
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Bioconductor/BiocFileCache 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 82/100
Bioconductor/BiocFileCache#76 · 1 則留言 ·
-
難度 3/5 1-2 天 新手友好度 67/100
Bioconductor/BiocFileCache#75 · 1 則留言 ·
-
難度 5/5 一週以上 新手友好度 35/100
Bioconductor/BiocFileCache#72 · 3 則留言 ·
-
難度 3/5 1-2 天 新手友好度 35/100
Bioconductor/BiocFileCache#60 · 3 則留言 ·
-
難度 4/5 3-5 天 新手友好度 30/100
查看 Bioconductor/BiocFileCache 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
HelenaLC/spatialdataR#295 ·
-
size-time-budget
難度 2/5 1-3 小時 新手友好度 69/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
Openscapes/blogscapes#61 ·
維護者通常 1 天內回覆
-
bug posit-ai
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100