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

unable to upgrade to 0.2.10 #7

Open
uvtc opened this issue Sep 6, 2019 · 5 comments

Comments

@uvtc
Copy link
Contributor

commented Sep 6, 2019

Hi,

Just updated my Haxe installation to 4.0.0-rc.4, then did a haxelib upgrade and hit an error when it got to console.hx:

{snip checking others...}
Checking console.hx
Update console.hx to 0.2.10 [y/n/a] ? y
Downloading console,hx-0,2,10.zip...
Download complete: 0.24KB in 0.7s (0.3KB/s)
Failed to download https://lib.haxe.org:443/files/3.0/console,hx-0,2,10.zip. (1/3)
Http Error #403
Download complete: 0.24KB in 0.7s (0.3KB/s)
Failed to download https://lib.haxe.org:443/files/3.0/console,hx-0,2,10.zip. (2/3)
Http Error #403
Download complete: 0.24KB in 0.7s (0.3KB/s)
Failed to download https://lib.haxe.org:443/files/3.0/console,hx-0,2,10.zip. (3/3)
Http Error #403
Error: [file_open,/home/john/haxelib/console,hx-0,2,10.zip]

Called from /home/vsts/work/1/s/std/neko/_std/sys/io/File.hx line 49
Called from haxelib/client/Main.hx line 986
Called from haxelib/client/Main.hx line 978
Called from haxelib/client/Main.hx line 1360
Called from haxelib/client/Main.hx line 1309
Called from haxelib/client/Main.hx line 1308
Called from haxelib/client/Main.hx line 493
@haxiomic

This comment has been minimized.

Copy link
Owner

commented Sep 6, 2019

Weird! Looks like a haxelib bug. I will investigate, thanks for reporting @uvtc

@haxiomic haxiomic self-assigned this Sep 6, 2019

@haxiomic

This comment has been minimized.

Copy link
Owner

commented Sep 6, 2019

Works for me on macOS. Are you on linux?

Not sure what's failing here – I think the file downloaded, so I'm assuming the unzip is failing

I've tried zipping up a different way (disabled compression) and published 0.2.12, let me know if that works for you

@uvtc

This comment has been minimized.

Copy link
Contributor Author

commented Sep 7, 2019

Yes, I'm on Debian Testing.

Tried updating again, but it failed again:

$ haxelib update
Checking {...}
Checking console.hx
Update console.hx to 0.2.12 [y/n/a] ? y
Downloading console,hx-0,2,12.zip...
Download complete: 0.24KB in 0.6s (0.3KB/s)
Failed to download https://lib.haxe.org:443/files/3.0/console,hx-0,2,12.zip. (1/3)
Http Error #403
Download complete: 0.24KB in 0.7s (0.3KB/s)
Failed to download https://lib.haxe.org:443/files/3.0/console,hx-0,2,12.zip. (2/3)
Http Error #403
Download complete: 0.24KB in 0.6s (0.3KB/s)
Failed to download https://lib.haxe.org:443/files/3.0/console,hx-0,2,12.zip. (3/3)
Http Error #403
Error: [file_open,/home/john/haxelib/console,hx-0,2,12.zip]

Called from /home/vsts/work/1/s/std/neko/_std/sys/io/File.hx line 49
Called from haxelib/client/Main.hx line 986
Called from haxelib/client/Main.hx line 978
Called from haxelib/client/Main.hx line 1360
Called from haxelib/client/Main.hx line 1309
Called from haxelib/client/Main.hx line 1308
Called from haxelib/client/Main.hx line 493
@uvtc

This comment has been minimized.

Copy link
Contributor Author

commented Sep 7, 2019

@haxiomic

This comment has been minimized.

Copy link
Owner

commented Sep 8, 2019

Right. Now we've got it. Turns how the haxelib server is case sensitive, but seems like the haxelib client is sometimes changing the case of modules. So it tries to get the file
console,hx-0,2,12.zip but this doesn't exist. However
Console,hx-0,2,12.zip does exist.

I'll open a bug report to disable case sensitivity on the haxelib server

Unfortunately I can't change the casing after the library has been submitted

Thanks for reporting @uvtc!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.