LoadError, Impossible to use depend packages .

未关闭
#21 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
julia
领域
build-system

调研方向

首先在 Windows 上的 Julia 0.6.2 中重现 Pkg.build("Blosc"),并检查第 30 行附近的 C:\Users\PC\.julia\v0.6\Blosc\deps\build.jl。比较报告的下载路径和 PowerShell SecurityProtocol 失败;当 Blosc 依赖项在用户的 .julia 目录中成功下载并构建后,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Impossible to use depend packages .
Some wrong is in this point:
C:\Users\PC.julia\v0.6
because I have path C:\Users\PC\.julia\v0.6 not C:\Users\PC.julia\v0.6

`Version 0.6.2 (2017-12-13 18:08 UTC)
Official http://julialang.org/ release
x86_64-w64-mingw32

julia> Pkg.build("Blosc")
INFO: Building Blosc
Info: Downloading https://github.com/stevengj/BloscBuilder/releases/download/v1.
14.2+5/Blosc.x86_64-w64-mingw32.tar.gz to C:\Users\PC.julia\v0.6\Blosc\deps\usr
\downloads\Blosc.x86_64-w64-mingw32.tar.gz...
Exception setting "SecurityProtocol": "Cannot convert null to type "System.Net.
SecurityProtocolType" due to invalid enumeration values. Specify one of the fol
lowing enumeration values and try again. The possible enumeration values are "S
sl3, Tls"."
At line:1 char:35

  • [System.Net.ServicePointManager]:: <<<< SecurityProtocol =
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : PropertyAssignmentException

Exception calling "DownloadFile" with "2" argument(s): "Po?Yczenie podstawowe z
osta?o zako?one: WystYpi? nieoczekiwany b?Yd przy wysy?aniu."
At line:4 char:24

  • $webclient.DownloadFile <<<< ("https://github.com/stevengj/BloscBuilder/relea
    ses/download/v1.14.2+5/Blosc.x86_64-w64-mingw32.tar.gz", "C:\Users\PC.julia\v0
    .6\Blosc\deps\usr\downloads\Blosc.x86_64-w64-mingw32.tar.gz")
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : DotNetMethodException

================================[ ERROR: Blosc ]================================

LoadError: Could not download https://github.com/stevengj/BloscBuilder/releases/
download/v1.14.2+5/Blosc.x86_64-w64-mingw32.tar.gz to C:\Users\PC.julia\v0.6\Bl
osc\deps\usr\downloads\Blosc.x86_64-w64-mingw32.tar.gz
while loading C:\Users\PC.julia\v0.6\Blosc\deps\build.jl, in expression startin
g on line 30

================================================================================

================================[ BUILD ERRORS ]================================

WARNING: Blosc had build errors.

  • packages with build errors remain installed in C:\Users\PC.julia\v0.6
  • build the package(s) and all dependencies with Pkg.build("Blosc")
  • build a single package by running its deps/build.jl script

================================================================================

julia>`

Paul

主要语言
Julia
星标
31
派生
4
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

JuliaParallel/Blocks.jl 的其他 Issue

查看 JuliaParallel/Blocks.jl 的全部 Issue

相似的 Issue

更多 Julia Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。