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

Cannot update to Blosc 0.2.0 on Windows #37

Closed
BoundaryValueProblems opened this issue Feb 13, 2017 · 6 comments
Closed

Cannot update to Blosc 0.2.0 on Windows #37

BoundaryValueProblems opened this issue Feb 13, 2017 · 6 comments

Comments

@BoundaryValueProblems
Copy link

Blosc was working on Windows machines until recently, but when I ran Pkg.update(), it failed with the following errors:

INFO: Building Blosc
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:1
+ (new-object net.webclient).DownloadFile("https://bintray.com/artifact ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

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

LoadError: failed process: Process(`'C:\Windows\System32\WindowsPowerShell\v1.0\powershell' -NoProfile -Command '(new-object net.webclient).DownloadFile("https://bintray.com/artifact/download/julialang/generic/libblosc64-1.11.1.dll", "libblosc.dll")'`, ProcessExited(1)) [1]
while loading C:\Users\xxx\.julia\v0.5\Blosc\deps\build.jl, in expression starting on line 11

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

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

WARNING: Blosc had build errors.

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

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

I didn't have any problems updating Blosc on my Mac OS X and Ubuntu/Linux machines. So, this is certainly a Windows-specific problem.
Thanks a lot for your help!
BVPs

@stevengj
Copy link
Member

Looks like a network error during download? Can you download https://bintray.com/artifact/download/julialang/generic/libblosc64-1.11.1.dll manually?

@BoundaryValueProblems
Copy link
Author

Yes, I can manually download that file without any problem. And, I still cannot build Blosc; the same error still occurs. So, I don't think this is a network problem.

@BoundaryValueProblems
Copy link
Author

Perhaps, would the following stackoverflow post be helpful?
http://stackoverflow.com/questions/13712462/error-using-client-downloadfile-in-powershell-script

@stevengj
Copy link
Member

stevengj commented Feb 13, 2017

@BoundaryValueProblems, it is something specific to your machine, because it works fine for other Windows users. (e.g. the AppVeyor tests are passing).

Possibly related to JuliaPackaging/WinRPM.jl#40? i.e. maybe you have some kind of firewall?

@BoundaryValueProblems
Copy link
Author

@stevengj, somehow, I could build Blosc just now. It's quite strange. I didn't change any firewall setting. But I just ran Pkg.update(), which updated many packages including Compat, SHA, and Atom, and more over I updated two Juno-Atom packages (atom-ink and atom-julia-client), and that forced me to restart atom. Then, Pkg.build("Blosc") worked without any error... I'm puzzled if those other package updates affected my building the Blosc package...

@stevengj
Copy link
Member

Okay, reopen it occurs again.

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