devops-works / binenv

One binary to rule them all. Manage all those pesky binaries (kubectl, helm, terraform, ...) easily.
MIT License
366 stars 44 forks source link

json: cannot unmarshal object into Go value of type list.ghReleaseResponse #233

Open EnochTheWise opened 1 year ago

EnochTheWise commented 1 year ago

Hi, error with any binary

e.g.

$ binenv update -f k3d
updating distributions 100% |█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (1/1, 26452 it/s)
2023-04-03T10:32:56+07:00 ERR error unmarshalling github response for https://api.github.com/repos/rancher/k3d/releases error="json: cannot unmarshal object into Go value of type list.ghReleaseResponse" func=GithubRelease.doGet
2023-04-03T10:32:56+07:00 ERR unable to fetch versions for "k3d" error="json: cannot unmarshal object into Go value of type list.ghReleaseResponse"
2023-04-03T10:32:56+07:00 WRN found no versions for "k3d"
2023-04-03T10:32:56+07:00 WRN no versions found for k3d; keeping previous versions 5.4.7,5.4.6,5.4.4,5.4.3,5.4.2,5.4.1,5.4.0,5.4.0-dev.3,5.4.0-dev.2,5.3.0,5.3.0-rc.1,5.2.2,5.2.1,5.2.1-rc.0,5.2.0,5.1.0,5.0.4-rc.0,5.0.3,5.0.2,5.0.2-rc.1,5.0.2-rc.0,5.0.1,5.0.1-rc.1,5.0.1-rc.0,5.0.0,5.0.0-rc.5,5.0.0-rc.4,5.0.0-rc.3,5.0.0-rc.2,5.0.0-rc.1,5.0.0-rc.0,5.0.0-beta.1,5.0.0-beta.0,5.0.0-alpha.0,4.4.8,5.0.0-dev.3,4.4.8-rc.3,4.4.8-rc.2,4.4.8-rc.1,5.0.0-dev.2,5.0.0-dev.1,5.0.0-dev.0,4.4.8-rc.0,4.4.7,4.4.6,4.4.5,4.4.4,4.4.3,4.4.3-dev.0,4.4.2,4.5.0-dev.1,4.5.0-dev.0,4.4.1,4.4.1-rc.0,4.4.0,4.3.0,4.2.0,4.1.1,4.1.0,4.1.0-rc.0,4.1.0-alpha.2,4.1.0-alpha.1,4.1.0-alpha.0,4.0.0,4.0.0-rc.2,4.0.0-rc.1,4.0.0-rc.0,4.0.0-beta.0,4.0.0-alpha.2,4.0.0-alpha.1,4.0.0-alpha.0,3.4.0,3.4.0-test.0,3.3.0,3.2.1,3.2.0,3.1.5,3.1.4,3.1.3,3.1.2,3.1.2-beta.0,3.1.1,3.1.0,3.1.0-dev.0,3.0.2,3.0.1,3.0.0,3.0.0-rc.7,3.0.0-syntax.0,3.0.0-rc.6,3.0.0-rc.5,3.0.0-rc.4,3.0.0-rc.3,3.0.0-rc.2,3.0.0-rc.1,3.0.0-rc.0,3.0.0-beta.2,3.0.0-beta.1,3.0.0-beta.0,3.0.0-alpha.4,3.0.0-alpha.3,3.0.0-alpha.2,1.7.0,1.6.0,3.0.0-alpha.1,1.5.1,1.5.0,3.0.0-alpha.0,1.4.0,1.4.0-dev.0,1.3.4,1.3.3,1.3.2,1.3.1,1.3.0,1.3.0-dev.0,1.2.2,1.2.2-beta.0,1.2.1,1.2.0,1.2.0-beta.2,1.2.0-beta.1,1.2.0-beta.0,1.1.0,1.0.2,1.0.1,1.0.0,1.0.0-beta0,0.3.0,0.2.0,0.1.1,0.1.0,0.0.2,0.0.1
leucos commented 1 week ago

Thanks for the report @EnochTheWise Is this still relevant ? Could you elaborate ? Can you run with -v ?