dom96 / choosenim

Tool for easily installing and managing multiple versions of the Nim programming language.
BSD 3-Clause "New" or "Revised" License
680 stars 65 forks source link

`choosenim update self` bumps into a 404 error. #346

Open Mihara opened 2 months ago

Mihara commented 2 months ago
$ choosenim update self
   Updating choosenim
[##################################################] 100.0% 0kb/s
/__w/choosenim/choosenim/src/choosenim.nim(350) choosenim
/__w/choosenim/choosenim/src/choosenim.nim(332) performAction
/__w/choosenim/choosenim/src/choosenim.nim(176) update
/__w/choosenim/choosenim/src/choosenim.nim(151) updateSelf
/__w/choosenim/choosenim/src/choosenimpkg/download.nim(211) downloadFile
/__w/choosenim/choosenim/src/choosenimpkg/download.nim(162) downloadFileCurl
Error: unhandled exception: Expected HTTP code 200 got 404 [HttpRequestError]

To be more specific, for some reason it attempts to download https://github.com/dom96/choosenim/releases/download/v0.8.5/choosenim-0.8.5_linux_amd64 which actually doesn't exist - and there's no release 0.8.5 in general. I'm not sure why would it think that one exists though...

SpotlightKid commented 2 months ago

You should probably re-install choosenim from https://github.com/nim-lang/choosenim

Ivoz commented 1 month ago

At the time of writing there is 0.8.5, 0.8.6 and 0.8.7 at https://github.com/nim-lang/choosenim/releases

I wonder if possibly the official 0.8.5 release could be 're-uploaded' here, so that users of this binary have a successful upgrade path? @dom96