Giter Site home page Giter Site logo

Comments (4)

jasonsaws avatar jasonsaws commented on May 25, 2024

Verbose output

I1019 11:18:16.915321   32989 install.go:119] Will install plugin: rbac-view
Installing plugin: rbac-view
I1019 11:18:16.915343   32989 install.go:74] Looking for installed versions
I1019 11:18:16.915354   32989 util.go:79] Searching for installed versions of rbac-view in "/Users/etienne/.krew/bin"
I1019 11:18:16.915401   32989 install.go:83] Finding download target for plugin rbac-view
I1019 11:18:16.915411   32989 util.go:38] Using os=darwin arch=amd64
I1019 11:18:16.915416   32989 util.go:61] Matching platform for labels(arch=amd64,os=darwin)
I1019 11:18:16.915458   32989 util.go:68] Found matching platform with index (0)
I1019 11:18:16.915464   32989 util.go:131] Matching plugin version is 2a3a6cca926bfa2c4116b76f376047946f4188f7f2129ac3c5cb9fe29b7c176d
I1019 11:18:16.915472   32989 install.go:46] Creating download dir "/var/folders/td/p0nf83gx32v_bpmmpwrjzzz00000gn/T/krew-downloads/rbac-view"
I1019 11:18:16.915566   32989 install.go:61] Getting sha256 (2a3a6cca926bfa2c4116b76f376047946f4188f7f2129ac3c5cb9fe29b7c176d) signed version
I1019 11:18:16.916332   32989 downloader.go:36] Fetching "https://github.com/jasonrichardsmith/rbac-view/releases/download/v0.1.0/rbac-view.v0.1.0.darwin.tar.gz"
I1019 11:18:18.247881   32989 downloader.go:43] Reading download data into memory
I1019 11:18:20.069130   32989 downloader.go:48] Read 9430668 bytes of download data into memory
I1019 11:18:20.069303   32989 downloader.go:172] detected .tar.gz file
I1019 11:18:20.069334   32989 downloader.go:93] tar: extracting to "/var/folders/td/p0nf83gx32v_bpmmpwrjzzz00000gn/T/krew-downloads/rbac-view"
I1019 11:18:20.070494   32989 downloader.go:110] tar: processing "bin/darwin/rbac-view" (type=48, mode=-rwxr-xr-x)
W1019 11:18:20.070981   32989 install.go:132] failed to install plugin "rbac-view": failed to dowload and move during installation: failed to download and verify file: failed to create file "/var/folders/td/p0nf83gx32v_bpmmpwrjzzz00000gn/T/krew-downloads/rbac-view/bin/darwin/rbac-view": open /var/folders/td/p0nf83gx32v_bpmmpwrjzzz00000gn/T/krew-downloads/rbac-view/bin/darwin/rbac-view: no such file or directory
F1019 11:18:20.071052   32989 root.go:50] failed to install some plugins: [rbac-view]
github.com/GoogleContainerTools/krew/cmd/krew/cmd.init.1.func1
        /go/src/github.com/GoogleContainerTools/krew/cmd/krew/cmd/install.go:142
github.com/GoogleContainerTools/krew/vendor/github.com/spf13/cobra.(*Command).execute
        /go/src/github.com/GoogleContainerTools/krew/vendor/github.com/spf13/cobra/command.go:762
github.com/GoogleContainerTools/krew/vendor/github.com/spf13/cobra.(*Command).ExecuteC
        /go/src/github.com/GoogleContainerTools/krew/vendor/github.com/spf13/cobra/command.go:852
github.com/GoogleContainerTools/krew/vendor/github.com/spf13/cobra.(*Command).Execute
        /go/src/github.com/GoogleContainerTools/krew/vendor/github.com/spf13/cobra/command.go:800
github.com/GoogleContainerTools/krew/cmd/krew/cmd.Execute
        /go/src/github.com/GoogleContainerTools/krew/cmd/krew/cmd/root.go:48
main.main
        /go/src/github.com/GoogleContainerTools/krew/cmd/krew/main.go:23
runtime.main
        /usr/local/go/src/runtime/proc.go:201
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1333

from krew.

ahmetb avatar ahmetb commented on May 25, 2024

Looking. It looks like a bug in our tar.gz extraction code, which wasn't battle-tested.

from krew.

ahmetb avatar ahmetb commented on May 25, 2024

Looks like our .tar.gz files we used for testing included the "directory" entries in the tarball. However it's possible to create tarballs without directory entries, yet have files with nested paths, like:

tar czvf foo.tar.gz dir1/dir2/file

Looks like we aren't handling this.

from krew.

ahmetb avatar ahmetb commented on May 25, 2024

@jasonrichardsmith please run kubectl krew upgrade to get krew v0.2.1.

from krew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.