-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 when adding packaging on julia #26167
Comments
Hi keep getting this error even after few times of uninstall, restart and install. Any idea how to fix this?? |
I encountered the same error. I have uninstalled Julia, but it is still not solved. Currently, I cannot use Julia for the work. |
I ran into the same problem. Executing the 'Easy fix' solved it. I hope it helps :) |
Is this a new error due to Windows updates? Do you understand what is going on and what Julia should do to avoid this? |
its all good now! Thanks @andreasnoack and @tkind |
New users using Windows 7 could really suffer from this issue, because they will not be able to install almost any packages unless they install TLS update. Even At least, there should be some guidelines in Julia Windows how to install page about this issue if the installation exe is not modified. (In Windows 10, no problem.) |
Yes, we might have to release a new 0.6 to fix this... Not sure what others think. The current situation is not good, agreed. |
Also I can`t use Pkg.updte() and other in WIN7. Is posible to install somtehing on win 7 ? Some url ? |
How to install Windows 7 TLS update is here: #13399 (comment) |
The text of the original error not as a PNG so that it's findable by search:
|
I think this warrants a 0.6.3 release... |
Corresponding libgit2 issue: libgit2/libgit2#4546 |
This also seems to be a problem with GitHub-hosted binaries (see JuliaStats/Rmath-julia#38), which will become a bigger issue as BinaryBuilder.jl is more widely used. |
LibGit2 PR: libgit2/libgit2#4550 We'll need something like that |
I'm inclined to take this issue as a warning that we should not rely on a third party like GitHub to provide Julia packages and binaries. Maybe they should be hosted on a dedicated server? Or at least use a URL that we control and which can be made to point at a custom server if that kind of problem happens in the future? That would be really really bad on production systems. |
A layer of indirection is not a bad idea. Of course we can also push out new URLs in METADATA / a registry at any point. |
Honestly, people who have critical uptime requirements should pay someone
to guarantee it. The amount of free services github provides is huge, I
don't think we will have the resources to replicate this to that level.
…On Mon, Feb 26, 2018 at 8:29 PM, Stefan Karpinski ***@***.***> wrote:
A layer of indirection is not a bad idea. Of course we can also push out
new URLs in METADATA / a registry at any point.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26167 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXIJoPEHtt5ptKJ4p1Cs5QJNlhroUEZks5tYvf0gaJpZM4SQT5M>
.
|
An announcement should probably be made with the link to the Microsoft easy fix. |
Summary:
* Close Julia window
* Go to
https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-a-default-secure-protocols-in
* Use the "Easy Fix"
* Download and run
* Now re-run Julia --> Pkg.update() works!
*
W dniu 2018-02-26 o 20:37, Jeremy pisze:
…
An announcement should probably be made with the link to the Microsoft
easy fix.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26167 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFTpRUb9Ks8ZkRu_HNxGyBDIe4er5F5kks5tYwfzgaJpZM4SQT5M>.
|
I cannot stress just how much I love that "Easy Fix".. Spend 2 days being so frustrated and now it finally works again! THANK YOU :D |
Unfortunatly something new : Version 0.6.2 (2017-12-13 18:08 UTC) `julia> Pkg.build("NLopt")
Exception calling "DownloadFile" with "2" argument(s): "Połączenie podstawowe zostało zakończone: Wystąpił nieoczekiwan
====================================================[ ERROR: NLopt ]==================================================== LoadError: failed process: Process( |
And more:
Exception calling "DownloadFile" with "2" argument(s): "Po?Yczenie podstawowe zosta?o zako?one: WystYpi? nieoczekiwan
===================================================[ ERROR: MbedTLS ]================================================= LoadError: Could not download https://github.com/quinnj/MbedTLSBuilder/releases/download/v0.6/MbedTLS.x86_64-w64-mingw ====================================================================================================================== INFO: Building SpecialFunctions ====================================================[ BUILD ERRORS ]================================================== WARNING: MbedTLS had build errors.
====================================================================================================================== julia>` |
On my machine WIN7-64, after reinstaling MS Net.Framewrok 4.7 is better ! |
Hey, Running a freshly installed Win7 Pro 64bit and i encountered the same error as posted by @programistawpf Installing .NET 4.7, the already mentioned Windows Update, the EasyFix, MS WMF 5.1 and all Securityupdates up to today got it working. |
Looks like #26459 |
I removed this issue, upadte runing, something temporary was! |
I am hitting this with two Win 10 machines. Windows 10 already has latest WMF and TLS patch is not available. Windows updates did not help, any ideas? EDIT: I tried with a linux machine and got a |
Same problem as @IlyaOrson on Windows 10:
|
What to do now ? :/ Problem back! Version 0.6.2 (2017-12-13 18:08 UTC) julia> using HDF5 julia> Pkg.build("Blosc")
Exception calling "DownloadFile" with "2" argument(s): "Po?Yczenie podstawowe zosta?o zako?one: WystYpi? nieocze
|
Error back on win7 64
Version 0.6.2 (2017-12-13 18:08 UTC)
x86_64-w64-mingw32
julia> Pkg.update()
INFO: Updating METADATA...
INFO: Updating cache of BinDeps...
INFO: Updating cache of LineSearches...
INFO: Updating cache of JuliaDB...
INFO: Updating cache of WeakRefStrings...
INFO: Updating cache of Compat...
INFO: Updating cache of NLSolversBase...
INFO: Updating cache of DataStructures...
INFO: Updating cache of PyCall...
INFO: Updating cache of OnlineStats...
INFO: Updating cache of MathProgBase...
INFO: Updating cache of RCall...
INFO: Updating cache of Hiccup...
INFO: Updating Plots master... 964c0ac4 → fc460554
INFO: Package PyPlot: skipping update (pinned)...
INFO: Computing changes...
INFO: Cloning cache of VersionParsing from
https://github.com/stevengj/VersionParsing.jl.git
INFO: Upgrading BinDeps: v0.8.7 => v0.8.8
INFO: Upgrading Calculus: v0.2.2 => v0.3.0
INFO: Upgrading Compat: v0.63.0 => v0.64.0
INFO: Upgrading DataStructures: v0.8.1- => v0.8.1
INFO: Upgrading JuliaDB: v0.8.0 => v0.8.1
INFO: Upgrading MathProgBase: v0.7.0 => v0.7.1
INFO: Upgrading OnlineStats: v0.17.1 => v0.17.2
INFO: Upgrading PyCall: v1.15.0 => v1.16.0
INFO: Installing VersionParsing v1.1.0
INFO: Building CodecZlib
Info: Downloading
https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.0/Zlib.x86_64-w64-mingw32.tar.g
z to
C:\Users\PC\.julia\v0.6\CodecZlib\deps\usr\downloads\Zlib.x86_64-w64-mingw32.tar.gz...
Exception setting "SecurityProtocol": "Cannot convert null to type
"System.Net.SecurityProtocolType" due to invali
d enumeration values. Specify one of the following enumeration values
and try again. The possible enumeration valu
es are "Ssl3, 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 zosta?o zako?one: WystYpi? nieocze
kiwany b?Yd przy wysy?aniu."
At line:4 char:24
+ $webclient.DownloadFile <<<<
("https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.0/Zlib.x86_64-w
64-mingw32.tar.gz",
"C:\Users\PC\.julia\v0.6\CodecZlib\deps\usr\downloads\Zlib.x86_64-w64-mingw32.tar.gz")
+ CategoryInfo : NotSpecified: (:) [],
MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
===============================================[ ERROR: CodecZlib
]================================================
LoadError: Could not download
https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.0/Zlib.x86_64-w64-m
ingw32.tar.gz to
C:\Users\PC\.julia\v0.6\CodecZlib\deps\usr\downloads\Zlib.x86_64-w64-mingw32.tar.gz
while loading C:\Users\PC\.julia\v0.6\CodecZlib\deps\build.jl, in
expression starting on line 92
===================================================================================================================
INFO: Building Conda
INFO: Building PyCall
What to do ?
Paul
W dniu 2018-04-09 o 16:31, Ilya Orson pisze:
…
I am hitting this with two Win 10 machines. Windows 10 already has
latest WMF and TLS patch is not available. Windows updates did not
help either, any ideas?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#26167 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFTpRbhfTRa0G_O8sALWZW8mO0f8q28vks5tm3C_gaJpZM4SQT5M>.
|
You have written four times now with the exact same error message. And you even fixed it once: #26167 (comment) |
Yes, but now this solution do not help.
Paul
W dniu 2018-04-27 o 14:40, Kristoffer Carlsson pisze:
…
You have written four times now with the exact same error message.
And you even fixed it once: #26167 (comment)
<#26167 (comment)>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#26167 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFTpRR7UdVLezYsgRf13Nw4Rad0kAH24ks5tsxG1gaJpZM4SQT5M>.
|
I get the same error message when I try to use Julia from Atom:
I have installed the easy fix, but it doesn't help. When I run |
@maikkirapo Have you tried the "easy-fix" in mentioned in https://discourse.julialang.org/t/pkg-update-error-base-libgit2-test-fails/9272/11? |
@andreasnoack Yes, I have tried the easy fix like I already mentioned in my previous comment. Now I'm updating my computer to Win10. Let's see if that fixes this problem. |
I just came across this problem trying to support a windows 7 install of julia 0.6.2. I don't have admin access to that machine so I spent a while trying to find a non-admin workaround. I didn't find one which works with the official julia-0.6.2 release. However, libgit2 has merged a workaround which - if julia-0.6 was rebuilt against it - shouldn't require the registry entry workaround in the "quick fix": libgit2/libgit2#4550. I believe this should work on any up to date win7 machine. To summarize the problem for the curious:
The registry changes in KB3140245 won't work for users without admin access because the keys relevant to WinHttp defaults live in |
@c42f , but wouldn't the build also need the git connection? |
I have tried every solution listed here I think, still geet the error, I've tried:
Nothing seems to work, the latest WMF is not available for my computer. What could I be missing??? |
I just ran into this error with julia 0.6.4 on Windows 7 SP1, on a machine that I don't have admin access on (department laptop). 😢 |
I have done in my Windows 8 and the easy fix didn't run on my system.How can I run Julia in Jupyter notebook now? |
This is an important issue for companies. Many still use Windows 7 and Easy Fix solution are no longer supported (https://support.microsoft.com/en-us/help/2970908/how-to-use-microsoft-easy-fix-solutions). With no work around it is impossible to install Julia in this companies. |
I thought that this issue was also present in 0.7 and 1.0 because in https://julialang.org/downloads/ it is still saying to install easy fix for those versions. I install 0.7 and 1.0 but still there is issue with TLS(#26459), however this issue I was able to fix installing Microsoft .NET Framework 4.7.1 and Windows Management Framework 3. @c42f thanks for the help. |
On win7 x64: Nothing worked until I installed Windows Management Framework 3 and restarted my computer after the installation. Thank you @Thuener |
The text was updated successfully, but these errors were encountered: