-
Notifications
You must be signed in to change notification settings - Fork 44
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
Pkg.add("WinRPM") error (WARNING: received error 0 while downloading) #27
Comments
This must be a connection issue - I just ran |
cross-linking JuliaGraphics/Winston.jl#158 |
(although a proxied connection should work, because we are using the Windows API to download files) |
Same for me:
I can open the first and third link in my browser but on the second and fourth one I get a 404, repeatedly. The first and third links shows an XML file with three data sections. When I browse to http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory//repodata/ then I see those three locations, but when I click on one of them, I get a 404. Same for the win32 link. |
I live in Belgium and I have friends with the same problem. But it is RANDOM sometimes I get 3 errors sometimes only 1. I went to France for holidays and after 2 try I finnaly finnish the installation without any errors. But now I am back home and I need to update WinRPM again. Sadly I have again the downloading error. thanks |
@vtjnash should we make |
I'm not sure. It couldn't hurt to try however. |
Today I tried again and WinRPM.update() worked on the second try. I have a consistently fast and proper wired connection so I expect that it is the server that is having hickups. Update: and now I am stuck with
I tried a couple of times. |
download.opensuse.org redirects you to a mirror. Unfortunately a lot of mirrors are not up to date. Replace source.list in the WinRPM directory with the following to use an EU mirror which seems to be up to date:
|
Thanks Andres, this solves the issue for me! 2014-07-11 14:41 GMT+02:00 Andres Lamont notifications@github.com:
Bart Kroon |
💯 |
Trying again today more closely
I get the first file repodata%2frepomd.xml
(of)
If I remove the last dash "/" in the sources.list, I get no wired path, but no repomd.xml file either. |
Hi stonebig, Did you try alamont's suggestion?
That uggly slash does not seem to be the problem because the URL's all end with a slash:
Versus
|
Yes, I did try at least 5 times since the beginning of the day, with "/" with no "/", every variation I could imagine.
I see a nice directory on my disk It contains the file repodata%2frepomd.xml Which contains itself
It's coded in "ansi" on my disk, so I suppose there is no Byte-Order-Mark that would disturb a linux program.... What can I do that would help find the issue ? if the "/" is normal at the end of the sources.list lines, maybe should we replace
per
|
Hi everybody.
runs fine from the console.
What's up doc ? |
Could it be possible that julia-download implementation on Windows misses a "wait for completion", because of Windows vs Linux threads implementation differences ? |
It doesn't use threads. It uses the Windows IE download API. |
Fixed in 0643240 and JuliaLang/METADATA.jl@cc5320c Let's see how this works for now. I was getting many failures just now, but with the retry option everything succeeds after 1 or 2 retries.
|
Issue seems still there on my Windows 7 64 bit, but I'm not 100% certain I did patch perfectly my installation. I'll check again for RC2 |
Could you please try |
I did, and I did apply the patch by hand on the source. Still, I'm pretty new to Julia and I can have missed a step. |
What does |
(sorry going to bed now, it's midnight here)
|
@stonebig please try:
to get a clean WinRPM directory, and then:
|
Nevermind @ihnorton's simultaneous post is better, do that instead |
try 1
ok, changing sources.list again
try2
Wouldn't it be a good idea to mirror Opensuse Mirrors to Github ?. |
For now, please try the following in your
|
The gwdg mirror looks fine in comparison to warwick, and works to install several packages (for me). If the problem persists, we need to figure out what is causing this: |
Trying with warwick
Checking version after
another idea ? a source to patch to get more explicit error ? |
Here is a try with Julia 64 bit, importing Tk from normal sources.list, then change the sources.list and retry from Warwick.
|
I added a
before the deadly loop. Here is the waring result (hoping it will help)
|
That is helpful - the repomd is way out of date. I would suggest to remove Also, please stick with warwick so we can reduce the number of variables. |
(it might be faster to talk on IRC if you can log on: http://webchat.freenode.net/?channels=julia) |
new result
|
I may have found the possible issue : the path is too long for windows .
not ok
|
yeah, i should probably actually get around to fixing that error... (goes to open vim) |
should work better now |
so, new procedure julia-0.3.0-rc1 for windows7 'latin europe' is still a bit long, but ... works \o/ !
|
Of course, In the process of editing "sources.list", WinRPM package becomes "(dirty)", so it's not perfect, but now I can swim in Ijulia. Thanks ! |
It should be less necessary now to change the mirror, since it is better at restarting. But it was always the intention that you should be able to. |
It may be a problem to gain traction in the click-click-run world of Windows users. I hope it will be solved for 0.3 final release |
Perhaps true. It was intended that this package would have a stong programmatic interface, so you could reliably drive this from less interactive tools, while also being very fluent to use on the command line manually if needed. |
The issue requiring to switch sources.list by hand to ftp5.gwdg.de for (south-west) european user is still there. |
Thanks for all the efforts, but changing sources.list does not work for me. Ivo |
you can call |
Thanks very much! It didn't work immediately, I had to restart my machine, but now WinRPM.update() works, and finally I got IJulia to work on Windows! |
Works today with zero manipulation at all (from build julia-0.3.0-rc1-3d30a5f-win32.exe ) |
|
_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: http://docs.julialang.org
_ _ | | __ _ | Type "help()" to list help topics
| | | | | | |/ ` | |
| | || | | | (| | | Version 0.3.0-prerelease+3841 (2014-06-22 11:24 UTC)
/ |_'|||__'| | Commit b6ebf91 (2 days old master)
|__/ | x86_64-w64-mingw32
julia> Pkg.add("WinRPM")
INFO: Installing BinDeps v0.2.14
INFO: Installing HTTPClient v0.1.4
INFO: Installing LibCURL v0.1.3
INFO: Installing LibExpat v0.0.4
INFO: Installing URIParser v0.0.2
INFO: Installing URLParse v0.0.0
INFO: Installing WinRPM v0.0.14
INFO: Installing Zlib v0.1.7
INFO: Building LibCURL
WARNING: skipping repodata/aee5879c2f6a0919d05907dcb04969d20a05c74c991513fce859b
6a0e9f675ef-primary.xml.gz, not in cache -- call WinRPM.update() to download
INFO: Updating WinRPM package list
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/aee5879c2f6a0919d05907dcb04969d20a05c74c991513fce85
9b6a0e9f675ef-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/reposit
ories/windows:/mingw:/win32/openSUSE_Factory//repodata/aee5879c2f6a0919d05907dcb
04969d20a05c74c991513fce859b6a0e9f675ef-primary.xml.gz
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_Factory//repodata/repomd.xml
INFO: Packages to install: libgpg-error-lang, libgpg-error, libgcc, libsqlite3-0
, libidn-lang, libgcrypt, libintl, libidn, mozilla-nss, zlib, mozilla-nspr, libs
sh2, libcurl
INFO: Downloading: libgpg-error-lang
INFO: try running WinRPM.update() and retrying the install
===============================[ ERROR: LibCURL ]===============================
failed to download libgpg-error-lang 0 from http://download.opensuse.org/reposit
ories/windows:/mingw:/win64/openSUSE_Factory//noarch/mingw64-libgpg-error-lang-1
.12-3.15.noarch.rpm.
while loading C:\Users\Maxime.julia\v0.3\LibCURL\deps\build.jl, in expression s
tarting on line 13
================================[ BUILD ERRORS ]================================
WARNING: LibCURL had build errors.
Pkg.build(pkg)
deps/build.jl
scriptINFO: Package database updated
julia> WinRPM.update()
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/aee5879c2f6a0919d05907dcb04969d20a05c74c991513fce85
9b6a0e9f675ef-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/reposit
ories/windows:/mingw:/win32/openSUSE_Factory//repodata/aee5879c2f6a0919d05907dcb
04969d20a05c74c991513fce859b6a0e9f675ef-primary.xml.gz
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_Factory//repodata/repomd.xml
julia> Version.i
ERROR: Version not defined
julia> Versioninfo()
ERROR: Versioninfo not defined
julia> versioninfo()
Julia Version 0.3.0-prerelease+3841
Commit b6ebf91 (2014-06-22 11:24 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
LAPACK: libopenblas
LIBM: libopenlibm
julia>
I have the same problem with julia 0.2
thanks for help
The text was updated successfully, but these errors were encountered: