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

error while Downloading artifact: ZeroMQ #204

Closed
Dareczin opened this issue May 29, 2020 · 1 comment
Closed

error while Downloading artifact: ZeroMQ #204

Dareczin opened this issue May 29, 2020 · 1 comment

Comments

@Dareczin
Copy link

Hi!

I tried to google my problem and try couple of solutions to make IJulia works on windows 7. One of the problem is being unable to install ZMQ with this error massage:

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łączenie podstawowe z
ostało zakończone: Wystąpił nieoczekiwany błąd przy wysyłaniu."
At line:7 char:24

  • $webclient.DownloadFile <<<< ("https://github.com/JuliaBinaryWrappers/ZeroMQ_
    jll.jl/releases/download/ZeroMQ-v4.3.2+3/ZeroMQ.v4.3.2.x86_64-w64-mingw32-cxx11
    .tar.gz", "C:\Users\Amber\AppData\Local\Temp\jl_XRAl3wKibf-download.gz")
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : DotNetMethodException
      ERROR: Unable to automatically install 'ZeroMQ' from 'C:\Users\Amber.julia\pack
      ages\ZeroMQ_jll\uERLA\Artifacts.toml'
      Stacktrace:
      [1] error(::String) at .\error.jl:33
      [2] ensure_artifact_installed(::String, ::Dict{String,Any}, ::String; platform:
      :Pkg.BinaryPlatforms.Platform, verbose::Bool, quiet_download::Bool) at D:\buildb
      ot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\Artifacts.jl:8
      94
      [3] ensure_all_artifacts_installed(::String; platform::Pkg.BinaryPlatforms.Plat
      form, pkg_uuid::Nothing, include_lazy::Bool, verbose::Bool, quiet_download::Bool
      ) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src
      Artifacts.jl:958
      [4] download_artifacts(::Pkg.Types.Context, ::Array{String,1}; platform::Pkg.Bi
      naryPlatforms.Windows, verbose::Bool) at D:\buildbot\worker\package_win64\build
      usr\share\julia\stdlib\v1.4\Pkg\src\Operations.jl:616
      [5] download_artifacts(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; p
      latform::Pkg.BinaryPlatforms.Windows, verbose::Bool) at D:\buildbot\worker\packa
      ge_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\Operations.jl:595
      [6] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUI
      D,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.Windows)
      at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\Op
      erations.jl:1091
      [7] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; preserve::Pkg.Ty
      pes.PreserveLevel, platform::Pkg.BinaryPlatforms.Windows, kwargs::Base.Iterators
      .Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at D:\buildbot\worker\pa
      ckage_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\API.jl:159
      [8] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\w
      orker\package_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\API.jl:112
      [9] #add#27 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1
      .4\Pkg\src\API.jl:109 [inlined]
      [10] add(::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64
      build\usr\share\julia\stdlib\v1.4\Pkg\src\API.jl:109
      [11] do_cmd!(::Pkg.REPLMode.Command, ::REPL.LineEditREPL) at D:\buildbot\worker
      \package_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\REPLMode\REPLMode.jl:40
      2
      [12] do_cmd(::REPL.LineEditREPL, ::String; do_rethrow::Bool) at D:\buildbot\wor
      ker\package_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\REPLMode\REPLMode.jl
      :380
      [13] do_cmd at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1
      .4\Pkg\src\REPLMode\REPLMode.jl:375 [inlined]
      [14] (::Pkg.REPLMode.var"broken BinDeps code? #24#27"{REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REP
      L.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at D:\buildb
      ot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\REPLMode\REPLM
      ode.jl:541
      [15] #invokelatest#1 at .\essentials.jl:712 [inlined]
      [16] invokelatest at .\essentials.jl:711 [inlined]
      [17] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterfac
      e, ::REPL.LineEdit.MIState) at D:\buildbot\worker\package_win64\build\usr\share
      julia\stdlib\v1.4\REPL\src\LineEdit.jl:2354
      [18] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at D:\buildbot\wo
      rker\package_win64\build\usr\share\julia\stdlib\v1.4\REPL\src\REPL.jl:1055
      [19] run_repl(::REPL.AbstractREPL, ::Any) at D:\buildbot\worker\package_win64\b
      uild\usr\share\julia\stdlib\v1.4\REPL\src\REPL.jl:206
      [20] (::Base.var"#764#766"{Bool,Bool,Bool,Bool})(::Module) at .\client.jl:383
      [21] #invokelatest#1 at .\essentials.jl:712 [inlined]
      [22] invokelatest at .\essentials.jl:711 [inlined]
      [23] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at .\client.jl:367
      [24] exec_options(::Base.JLOptions) at .\client.jl:305
      [25] _start() at .\client.jl:484

(@v1.4) pkg>

Maybe someone will be able to solve this issue. Thank you in advance

@stevengj
Copy link
Contributor

stevengj commented Jun 1, 2020

Might be some kind of firewall blocking downloads?

Artifact downloading is implemented by https://github.com/JuliaLang/Pkg.jl, so you should file an issue there if you continue to have problems.

@stevengj stevengj closed this as completed Jun 1, 2020
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

2 participants