Skip to content

Instantly share code, notes, and snippets.

@Lin936
Created March 12, 2020 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lin936/01d84c643a5c591cbc759c041d7f81b3 to your computer and use it in GitHub Desktop.
Save Lin936/01d84c643a5c591cbc759c041d7f81b3 to your computer and use it in GitHub Desktop.
julia> using DebugArtifacts
[ Info: Precompiling DebugArtifacts [4f05f810-3073-4646-a23d-fd50056b1323]
julia> debug_artifact("OpenSpecFun")
[ Info: Probing for download engine...
[ Info: Probing powershell as a possibility...
[ Info: Probe successful for powershell
[ Info: Found download engine powershell
[ Info: Probing for compression engine...
[ Info: Probing C:\Users\user\Julia-1.3.1\bin\..\libexec\7z.exe as a possibility
...
[ Info: Probe successful for C:\Users\user\Julia-1.3.1\bin\..\libexec\7z.exe
[ Info: Found compression engine C:\Users\user\Julia-1.3.1\bin\..\libexec\7z.exe
[ Info: Downloading Artifacts.toml to C:\Users\user\AppData\Local\Temp\jl_uUK80w
\Artifacts.toml...
[ Info: Downloading https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenSp
ecFun_jll.jl/master/Artifacts.toml to C:\Users\user\AppData\Local\Temp\jl_uUK80w
\Artifacts.toml...
設設定定 "SecurityProtocol" 時時發發生生例例外外狀狀況況: "無無法法將將 Null 轉轉換換為為 "System.Net.Securit
yProtocolType" 型型別別,,因因為為列列舉舉值值無無效效。。請請指指定定下下列列其其中中一一個個列列舉舉值值,,然然後後再再試試一一次次。。可可
能能的的列列舉舉值值為為 "Ssl3,, Tls"。。"
位位於於 行行:1 字字元元:35
+ [System.Net.ServicePointManager]:: <<<< SecurityProtocol =
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyAssignmentException
[ Info: Extracting artifact info for platform i686-w64-mingw32-libgfortran4-cxx1
1...
[ Info: Found meta object with git-tree-sha1 82b72b84ce5eb60e7b2f85320e4e92af1f3
c1572, attempting download...
[ Info: Downloading https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl/re
leases/download/OpenSpecFun-v0.5.3+3/OpenSpecFun.v0.5.3.i686-w64-mingw32-libgfor
tran4.tar.gz to C:\Users\user\AppData\Local\Temp\jl_35BC.tmp-download.gz...
設設定定 "SecurityProtocol" 時時發發生生例例外外狀狀況況: "無無法法將將 Null 轉轉換換為為 "System.Net.Securit
yProtocolType" 型型別別,,因因為為列列舉舉值值無無效效。。請請指指定定下下列列其其中中一一個個列列舉舉值值,,然然後後再再試試一一次次。。可可
能能的的列列舉舉值值為為 "Ssl3,, Tls"。。"
位位於於 行行:1 字字元元:35
+ [System.Net.ServicePointManager]:: <<<< SecurityProtocol =
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyAssignmentException
以以 "2" 引引數數呼呼叫叫 "DownloadFile" 時時發發生生例例外外狀狀況況: "基基礎礎連連接接已已關關閉閉: 傳傳送送時時發發生生未未預預
期期的的錯錯誤誤。。"
位位於於 行行:7 字字元元:24
+ $webclient.DownloadFile <<<< ("https://github.com/JuliaBinaryWrappers/OpenSpe
cFun_jll.jl/releases/download/OpenSpecFun-v0.5.3+3/OpenSpecFun.v0.5.3.i686-w64-
mingw32-libgfortran4.tar.gz", "C:\Users\user\AppData\Local\Temp\jl_35BC.tmp-dow
nload.gz")
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
ERROR: Could not download https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll
.jl/releases/download/OpenSpecFun-v0.5.3+3/OpenSpecFun.v0.5.3.i686-w64-mingw32-l
ibgfortran4.tar.gz to C:\Users\user\AppData\Local\Temp\jl_35BC.tmp-download.gz:
ProcessFailedException(Base.Process[Process(`powershell -NoProfile -Command '[Sy
stem.Net.ServicePointManager]::SecurityProtocol =
[System.Net.SecurityProtocolType]::Tls12;
$webclient = (New-Object System.Net.Webclient);
$webclient.UseDefaultCredentials = $true;
$webclient.Proxy.Credentials = $webclient.Credentials;
$webclient.Headers.Add("user-agent", "Pkg.jl (https://github.com/JuliaLang/Pkg.j
l)");
$webclient.DownloadFile("https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.
jl/releases/download/OpenSpecFun-v0.5.3+3/OpenSpecFun.v0.5.3.i686-w64-mingw32-li
bgfortran4.tar.gz", "C:\Users\user\AppData\Local\Temp\jl_35BC.tmp-download.gz")
'`, ProcessExited(1))])
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] #download#86(::Bool, ::typeof(Pkg.PlatformEngines.download), ::String, ::St
ring) at D:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.3\Pkg\
src\PlatformEngines.jl:591
[3] #download at .\none:0 [inlined]
[4] #download_verify#87(::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify), ::String, ::String, ::String) at D:\buildbot\worker\package_win3
2\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:642
[5] #download_verify at D:\buildbot\worker\package_win32\build\usr\share\julia\
stdlib\v1.3\Pkg\src\PlatformEngines.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg
.PlatformEngines.download_verify_unpack), ::String, ::String, ::String) at D:\bu
ildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEn
gines.jl:871
[7] (::Pkg.PlatformEngines.var"#kw##download_verify_unpack")(::NamedTuple{(:ver
bose,),Tuple{Bool}}, ::typeof(Pkg.PlatformEngines.download_verify_unpack), ::Str
ing, ::String, ::String) at .\none:0
[8] (::DebugArtifacts.var"#1#2"{String,String})(::String) at C:\Users\user\.jul
ia\packages\DebugArtifacts\glAxd\src\DebugArtifacts.jl:34
[9] #mktempdir#18(::String, ::typeof(mktempdir), ::DebugArtifacts.var"#1#2"{Str
ing,String}, ::String) at .\file.jl:634
[10] mktempdir at .\file.jl:632 [inlined] (repeats 2 times)
[11] debug_artifact(::String) at C:\Users\user\.julia\packages\DebugArtifacts\g
lAxd\src\DebugArtifacts.jl:17
[12] top-level scope at REPL[2]:1
caused by [exception 1]
failed process: Process(`powershell -NoProfile -Command '[System.Net.ServicePoin
tManager]::SecurityProtocol =
[System.Net.SecurityProtocolType]::Tls12;
$webclient = (New-Object System.Net.Webclient);
$webclient.UseDefaultCredentials = $true;
$webclient.Proxy.Credentials = $webclient.Credentials;
$webclient.Headers.Add("user-agent", "Pkg.jl (https://github.com/JuliaLang/Pkg.j
l)");
$webclient.DownloadFile("https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.
jl/releases/download/OpenSpecFun-v0.5.3+3/OpenSpecFun.v0.5.3.i686-w64-mingw32-li
bgfortran4.tar.gz", "C:\Users\user\AppData\Local\Temp\jl_35BC.tmp-download.gz")
'`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error at .\process.jl:525 [inlined]
[2] #run#565(::Bool, ::typeof(run), ::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.T
TY}) at .\process.jl:440
[3] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}) at .\process.jl:438
[4] #download#86(::Bool, ::typeof(Pkg.PlatformEngines.download), ::String, ::St
ring) at D:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.3\Pkg\
src\PlatformEngines.jl:586
[5] #download at .\none:0 [inlined]
[6] #download_verify#87(::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify), ::String, ::String, ::String) at D:\buildbot\worker\package_win3
2\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:642
[7] #download_verify at D:\buildbot\worker\package_win32\build\usr\share\julia\
stdlib\v1.3\Pkg\src\PlatformEngines.jl:0 [inlined]
[8] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg
.PlatformEngines.download_verify_unpack), ::String, ::String, ::String) at D:\bu
ildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEn
gines.jl:871
[9] (::Pkg.PlatformEngines.var"#kw##download_verify_unpack")(::NamedTuple{(:ver
bose,),Tuple{Bool}}, ::typeof(Pkg.PlatformEngines.download_verify_unpack), ::Str
ing, ::String, ::String) at .\none:0
[10] (::DebugArtifacts.var"#1#2"{String,String})(::String) at C:\Users\user\.ju
lia\packages\DebugArtifacts\glAxd\src\DebugArtifacts.jl:34
[11] #mktempdir#18(::String, ::typeof(mktempdir), ::DebugArtifacts.var"#1#2"{St
ring,String}, ::String) at .\file.jl:634
[12] mktempdir at .\file.jl:632 [inlined] (repeats 2 times)
[13] debug_artifact(::String) at C:\Users\user\.julia\packages\DebugArtifacts\g
lAxd\src\DebugArtifacts.jl:17
[14] top-level scope at REPL[2]:1
julia> using DebugArtifacts
julia> using DebugArtifacts
julia> debug_artifact("OpenSpecFun")
[ Info: Downloading Artifacts.toml to C:\Users\user\AppData\Local\Temp\jl_YwWv78
\Artifacts.toml...
[ Info: Downloading https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenSp
ecFun_jll.jl/master/Artifacts.toml to C:\Users\user\AppData\Local\Temp\jl_YwWv78
\Artifacts.toml...
設設定定 "SecurityProtocol" 時時發發生生例例外外狀狀況況: "無無法法將將 Null 轉轉換換為為 "System.Net.Securit
yProtocolType" 型型別別,,因因為為列列舉舉值值無無效效。。請請指指定定下下列列其其中中一一個個列列舉舉值值,,然然後後再再試試一一次次。。可可
能能的的列列舉舉值值為為 "Ssl3,, Tls"。。"
位位於於 行行:1 字字元元:35
+ [System.Net.ServicePointManager]:: <<<< SecurityProtocol =
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyAssignmentException
[ Info: Extracting artifact info for platform i686-w64-mingw32-libgfortran4-cxx1
1...
[ Info: Found meta object with git-tree-sha1 82b72b84ce5eb60e7b2f85320e4e92af1f3
c1572, attempting download...
[ Info: Downloading https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl/re
leases/download/OpenSpecFun-v0.5.3+3/OpenSpecFun.v0.5.3.i686-w64-mingw32-libgfor
tran4.tar.gz to C:\Users\user\AppData\Local\Temp\jl_5366.tmp-download.gz...
設設定定 "SecurityProtocol" 時時發發生生例例外外狀狀況況: "無無法法將將 Null 轉轉換換為為 "System.Net.Securit
yProtocolType" 型型別別,,因因為為列列舉舉值值無無效效。。請請指指定定下下列列其其中中一一個個列列舉舉值值,,然然後後再再試試一一次次。。可可
能能的的列列舉舉值值為為 "Ssl3,, Tls"。。"
位位於於 行行:1 字字元元:35
+ [System.Net.ServicePointManager]:: <<<< SecurityProtocol =
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyAssignmentException
以以 "2" 引引數數呼呼叫叫 "DownloadFile" 時時發發生生例例外外狀狀況況: "基基礎礎連連接接已已關關閉閉: 傳傳送送時時發發生生未未預預
期期的的錯錯誤誤。。"
位位於於 行行:7 字字元元:24
+ $webclient.DownloadFile <<<< ("https://github.com/JuliaBinaryWrappers/OpenSpe
cFun_jll.jl/releases/download/OpenSpecFun-v0.5.3+3/OpenSpecFun.v0.5.3.i686-w64-
mingw32-libgfortran4.tar.gz", "C:\Users\user\AppData\Local\Temp\jl_5366.tmp-dow
nload.gz")
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
ERROR: Could not download https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll
.jl/releases/download/OpenSpecFun-v0.5.3+3/OpenSpecFun.v0.5.3.i686-w64-mingw32-l
ibgfortran4.tar.gz to C:\Users\user\AppData\Local\Temp\jl_5366.tmp-download.gz:
ProcessFailedException(Base.Process[Process(`powershell -NoProfile -Command '[Sy
stem.Net.ServicePointManager]::SecurityProtocol =
[System.Net.SecurityProtocolType]::Tls12;
$webclient = (New-Object System.Net.Webclient);
$webclient.UseDefaultCredentials = $true;
$webclient.Proxy.Credentials = $webclient.Credentials;
$webclient.Headers.Add("user-agent", "Pkg.jl (https://github.com/JuliaLang/Pkg.j
l)");
$webclient.DownloadFile("https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.
jl/releases/download/OpenSpecFun-v0.5.3+3/OpenSpecFun.v0.5.3.i686-w64-mingw32-li
bgfortran4.tar.gz", "C:\Users\user\AppData\Local\Temp\jl_5366.tmp-download.gz")
'`, ProcessExited(1))])
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] #download#86(::Bool, ::typeof(Pkg.PlatformEngines.download), ::String, ::St
ring) at D:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.3\Pkg\
src\PlatformEngines.jl:591
[3] #download at .\none:0 [inlined]
[4] #download_verify#87(::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify), ::String, ::String, ::String) at D:\buildbot\worker\package_win3
2\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:642
[5] #download_verify at D:\buildbot\worker\package_win32\build\usr\share\julia\
stdlib\v1.3\Pkg\src\PlatformEngines.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg
.PlatformEngines.download_verify_unpack), ::String, ::String, ::String) at D:\bu
ildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEn
gines.jl:871
[7] (::Pkg.PlatformEngines.var"#kw##download_verify_unpack")(::NamedTuple{(:ver
bose,),Tuple{Bool}}, ::typeof(Pkg.PlatformEngines.download_verify_unpack), ::Str
ing, ::String, ::String) at .\none:0
[8] (::DebugArtifacts.var"#1#2"{String,String})(::String) at C:\Users\user\.jul
ia\packages\DebugArtifacts\glAxd\src\DebugArtifacts.jl:34
[9] #mktempdir#18(::String, ::typeof(mktempdir), ::DebugArtifacts.var"#1#2"{Str
ing,String}, ::String) at .\file.jl:634
[10] mktempdir at .\file.jl:632 [inlined] (repeats 2 times)
[11] debug_artifact(::String) at C:\Users\user\.julia\packages\DebugArtifacts\g
lAxd\src\DebugArtifacts.jl:17
[12] top-level scope at REPL[4]:1
caused by [exception 1]
failed process: Process(`powershell -NoProfile -Command '[System.Net.ServicePoin
tManager]::SecurityProtocol =
[System.Net.SecurityProtocolType]::Tls12;
$webclient = (New-Object System.Net.Webclient);
$webclient.UseDefaultCredentials = $true;
$webclient.Proxy.Credentials = $webclient.Credentials;
$webclient.Headers.Add("user-agent", "Pkg.jl (https://github.com/JuliaLang/Pkg.j
l)");
$webclient.DownloadFile("https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.
jl/releases/download/OpenSpecFun-v0.5.3+3/OpenSpecFun.v0.5.3.i686-w64-mingw32-li
bgfortran4.tar.gz", "C:\Users\user\AppData\Local\Temp\jl_5366.tmp-download.gz")
'`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error at .\process.jl:525 [inlined]
[2] #run#565(::Bool, ::typeof(run), ::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.T
TY}) at .\process.jl:440
[3] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}) at .\process.jl:438
[4] #download#86(::Bool, ::typeof(Pkg.PlatformEngines.download), ::String, ::St
ring) at D:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.3\Pkg\
src\PlatformEngines.jl:586
[5] #download at .\none:0 [inlined]
[6] #download_verify#87(::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify), ::String, ::String, ::String) at D:\buildbot\worker\package_win3
2\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:642
[7] #download_verify at D:\buildbot\worker\package_win32\build\usr\share\julia\
stdlib\v1.3\Pkg\src\PlatformEngines.jl:0 [inlined]
[8] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg
.PlatformEngines.download_verify_unpack), ::String, ::String, ::String) at D:\bu
ildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEn
gines.jl:871
[9] (::Pkg.PlatformEngines.var"#kw##download_verify_unpack")(::NamedTuple{(:ver
bose,),Tuple{Bool}}, ::typeof(Pkg.PlatformEngines.download_verify_unpack), ::Str
ing, ::String, ::String) at .\none:0
[10] (::DebugArtifacts.var"#1#2"{String,String})(::String) at C:\Users\user\.ju
lia\packages\DebugArtifacts\glAxd\src\DebugArtifacts.jl:34
[11] #mktempdir#18(::String, ::typeof(mktempdir), ::DebugArtifacts.var"#1#2"{St
ring,String}, ::String) at .\file.jl:634
[12] mktempdir at .\file.jl:632 [inlined] (repeats 2 times)
[13] debug_artifact(::String) at C:\Users\user\.julia\packages\DebugArtifacts\g
lAxd\src\DebugArtifacts.jl:17
[14] top-level scope at REPL[4]:1
julia>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment