Masterminds / glide

Package Management for Golang
https://glide.sh
Other
8.15k stars 540 forks source link

[ERROR] Failed to resolve local packages: GetFileAttributesEx... #852

Open hsluoyz opened 7 years ago

hsluoyz commented 7 years ago

I'm trying to glide get a package for repo: https://github.com/coreos/etcd on Windows 10 x64 but encounters the error:

[ERROR] Failed to build an initial list of packages to scan: GetFileAttributesEx C:\GoPath\src\github.com\coreos\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd
\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\Documentation\dev-guide\apispec\swagger\v3election.s
wagger.json: The system cannot find the path specified.

I guess the cause is that etcd repo has a symbolic link inside its cmd directory, which links to the repo root. So it becomes an endless loop and glide doesn't handle it well. So it cannot find a file inside this endless path.

BTW, I'm using Git for Windows and have enabled the Symbolic-Links feature. In the page it said:

Many programs do not understand symbolic links

So I doubt maybe glide on Windows is one of the programs that do not understand Windows symbolic links?

The symbolic link on Windows looks like this:

image

There's my glide get command.

C:\GoPath\src\github.com\coreos\etcd>glide --debug get github.com/casbin/casbin
[DEBUG] No mirrors.yaml file exists
[INFO]  Preparing to install 1 package.
[INFO]  Attempting to get package github.com/casbin/casbin
[INFO]  --> Gathering release information for github.com/casbin/casbin
[DEBUG] Setting up the cache directory
[INFO]  The package github.com/casbin/casbin appears to have Semantic Version releases (http://semver.org).
[INFO]  The latest release is v0.6.0. You are currently not using a release. Would you like
[INFO]  to use this release? Yes (Y) or No (N)
Y
[INFO]  The package github.com/casbin/casbin appears to use semantic versions (http://semver.org).
[INFO]  Would you like to track the latest minor or patch releases (major.minor.patch)?
[INFO]  Tracking minor version releases would use '>= 0.6.0, < 1.0.0' ('^0.6.0'). Tracking patch version
[INFO]  releases would use '>= 0.6.0, < 0.7.0' ('~0.6.0'). For more information on Glide versions
[INFO]  and ranges see https://glide.sh/docs/versions
[INFO]  Minor (M), Patch (P), or Skip Ranges (S)?
S
[INFO]  --> Adding github.com/casbin/casbin to your configuration with the version v0.6.0
[INFO]  Downloading dependencies. Please wait...
[DEBUG] Locking https-github.com-cockroachdb-cmux
[INFO]  --> Fetching updates for github.com/cockroachdb/cmux.
[DEBUG] Locking https-github.com-bgentry-speakeasy
[DEBUG] Locking https-github.com-prometheus-procfs
[DEBUG] Locking https-github.com-google-btree
[DEBUG] Locking https-github.com-golang-protobuf
[DEBUG] Locking https-github.com-coreos-go-semver
[DEBUG] Locking https-github.com-grpc-ecosystem-grpc-gateway
[DEBUG] Locking https-github.com-coreos-go-systemd
[DEBUG] Locking https-github.com-jonboulle-clockwork
[DEBUG] Locking https-github.com-coreos-pkg
[DEBUG] Locking https-github.com-kr-pty
[DEBUG] Locking https-github.com-dustin-go-humanize
[DEBUG] Locking https-github.com-olekukonko-tablewriter
[DEBUG] Locking https-github.com-ghodss-yaml
[INFO]  --> Fetching updates for github.com/olekukonko/tablewriter.
[INFO]  --> Fetching updates for github.com/ghodss/yaml.
[DEBUG] Locking https-github.com-boltdb-bolt
[INFO]  --> Fetching updates for github.com/boltdb/bolt.
[DEBUG] Locking https-github.com-golang-groupcache
[DEBUG] Locking https-github.com-prometheus-common
[DEBUG] Locking https-github.com-prometheus-client_golang
[INFO]  --> Fetching updates for github.com/prometheus/client_golang.
[INFO]  --> Fetching updates for github.com/bgentry/speakeasy.
[INFO]  --> Fetching updates for github.com/prometheus/procfs.
[INFO]  --> Fetching updates for github.com/google/btree.
[INFO]  --> Fetching updates for github.com/golang/protobuf.
[INFO]  --> Fetching updates for github.com/coreos/go-semver.
[INFO]  --> Fetching updates for github.com/grpc-ecosystem/grpc-gateway.
[INFO]  --> Fetching updates for github.com/coreos/go-systemd.
[INFO]  --> Fetching updates for github.com/jonboulle/clockwork.
[INFO]  --> Fetching updates for github.com/coreos/pkg.
[INFO]  --> Fetching updates for github.com/kr/pty.
[INFO]  --> Fetching updates for github.com/dustin/go-humanize.
[DEBUG] Locking https-github.com-gogo-protobuf
[INFO]  --> Fetching updates for github.com/gogo/protobuf.
[DEBUG] Locking https-github.com-mattn-go-runewidth
[INFO]  --> Fetching updates for github.com/mattn/go-runewidth.
[INFO]  --> Fetching updates for github.com/golang/groupcache.
[INFO]  --> Fetching updates for github.com/prometheus/common.
[DEBUG] github.com/golang/protobuf is already set to version 5a0f697c9ed9d68fef0116532c6e05cfeae00e55. Skipping update.
[DEBUG] Unlocking https-github.com-golang-protobuf
[DEBUG] Locking https-github.com-spf13-cobra
[INFO]  --> Fetching updates for github.com/spf13/cobra.
[DEBUG] github.com/dustin/go-humanize is already set to version 8929fe90cee4b2cb9deb468b51fb34eba64d1bf0. Skipping update.
[DEBUG] Unlocking https-github.com-dustin-go-humanize
[DEBUG] Locking https-github.com-spf13-pflag
[INFO]  --> Fetching updates for github.com/spf13/pflag.
[DEBUG] github.com/cockroachdb/cmux is already set to version 112f0506e7743d64a6eb8fedbcff13d9979bbf92. Skipping update.
[DEBUG] Unlocking https-github.com-cockroachdb-cmux
[DEBUG] Locking https-github.com-ugorji-go
[INFO]  --> Fetching updates for github.com/ugorji/go.
[DEBUG] github.com/google/btree is already set to version 925471ac9e2131377a91e1595defec898166fe49. Skipping update.
[DEBUG] Unlocking https-github.com-google-btree
[DEBUG] Locking https-github.com-urfave-cli
[INFO]  --> Fetching updates for github.com/urfave/cli.
[DEBUG] github.com/olekukonko/tablewriter is already set to version a0225b3f23b5ce0cbec6d7a66a968f8a59eca9c4. Skipping update.
[DEBUG] Unlocking https-github.com-olekukonko-tablewriter
[DEBUG] Locking https-github.com-xiang90-probing
[INFO]  --> Fetching updates for github.com/xiang90/probing.
[DEBUG] github.com/prometheus/common is already set to version 49fee292b27bfff7f354ee0f64e1bc4850462edf. Skipping update.
[DEBUG] Unlocking https-github.com-prometheus-common
[DEBUG] Locking https-github.com-grpc-ecosystem-go-grpc-prometheus
[INFO]  --> Fetching updates for github.com/grpc-ecosystem/go-grpc-prometheus.
[DEBUG] github.com/prometheus/procfs is already set to version a1dba9ce8baed984a2495b658c82687f8157b98f. Skipping update.
[DEBUG] Unlocking https-github.com-prometheus-procfs
[DEBUG] Locking https-golang.org-x-crypto
[INFO]  --> Fetching updates for golang.org/x/crypto.
[DEBUG] github.com/golang/groupcache is already set to version 02826c3e79038b59d737d3b1c0a1d937f71a4433. Skipping update.
[DEBUG] Unlocking https-github.com-golang-groupcache
[DEBUG] Locking https-golang.org-x-net
[INFO]  --> Fetching updates for golang.org/x/net.
[DEBUG] github.com/ugorji/go is already set to version ded73eae5db7e7a0ef6f55aace87a2873c5d2b74. Skipping update.
[DEBUG] Unlocking https-github.com-ugorji-go
[DEBUG] Locking https-golang.org-x-sys
[INFO]  --> Fetching updates for golang.org/x/sys.
[DEBUG] github.com/spf13/cobra is already set to version 1c44ec8d3f1552cac48999f9306da23c4d8a288b. Skipping update.
[DEBUG] Unlocking https-github.com-spf13-cobra
[DEBUG] Locking https-golang.org-x-time
[INFO]  --> Fetching updates for golang.org/x/time.
[DEBUG] Unlocking https-github.com-ghodss-yaml
[DEBUG] Locking https-google.golang.org-grpc
[INFO]  --> Fetching updates for google.golang.org/grpc.
[DEBUG] Unlocking https-github.com-jonboulle-clockwork
[DEBUG] Locking https-gopkg.in-cheggaaa-pb.v1
[INFO]  --> Fetching updates for gopkg.in/cheggaaa/pb.v1.
[DEBUG] Unlocking https-github.com-bgentry-speakeasy
[DEBUG] Locking https-gopkg.in-yaml.v2
[INFO]  --> Fetching updates for gopkg.in/yaml.v2.
[DEBUG] Unlocking https-github.com-mattn-go-runewidth
[DEBUG] Locking https-github.com-dgrijalva-jwt-go
[INFO]  --> Fetching updates for github.com/dgrijalva/jwt-go.
[DEBUG] github.com/spf13/pflag is already set to version 08b1a584251b5b62f458943640fc8ebd4d50aaa5. Skipping update.
[DEBUG] Unlocking https-github.com-spf13-pflag
[DEBUG] Locking https-github.com-casbin-casbin
[INFO]  --> Fetching github.com/casbin/casbin.
[DEBUG] Adding github.com/casbin/casbin to the cache for the first time
[DEBUG] Unlocking https-github.com-coreos-go-semver
[DEBUG] golang.org/x/sys is already set to version e48874b42435b4347fc52bdee0424a52abc974d7. Skipping update.
[DEBUG] Unlocking https-golang.org-x-sys
[DEBUG] Unlocking https-github.com-gogo-protobuf
[DEBUG] golang.org/x/crypto is already set to version 1351f936d976c60a0a48d728281922cf63eafb8d. Skipping update.
[DEBUG] Unlocking https-golang.org-x-crypto
[DEBUG] Unlocking https-github.com-coreos-go-systemd
[DEBUG] Unlocking https-github.com-coreos-pkg
[DEBUG] Unlocking https-github.com-prometheus-client_golang
[DEBUG] Unlocking https-github.com-boltdb-bolt
[DEBUG] golang.org/x/time is already set to version c06e80d9300e4443158a03817b8a8cb37d230320. Skipping update.
[DEBUG] Unlocking https-golang.org-x-time
[DEBUG] golang.org/x/net is already set to version c8c74377599bd978aee1cf3b9b63a8634051cec2. Skipping update.
[DEBUG] Unlocking https-golang.org-x-net
[DEBUG] gopkg.in/yaml.v2 is already set to version cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b. Skipping update.
[DEBUG] Unlocking https-gopkg.in-yaml.v2
[DEBUG] Unlocking https-github.com-kr-pty
[DEBUG] Unlocking https-github.com-grpc-ecosystem-grpc-gateway
[DEBUG] Unlocking https-github.com-urfave-cli
[DEBUG] Unlocking https-github.com-xiang90-probing
[DEBUG] Unlocking https-github.com-grpc-ecosystem-go-grpc-prometheus
[DEBUG] Unlocking https-github.com-dgrijalva-jwt-go
[DEBUG] Unlocking https-google.golang.org-grpc
[DEBUG] Unlocking https-gopkg.in-cheggaaa-pb.v1
[DEBUG] Attempting to find current branch for https://github.com/casbin/casbin
[DEBUG] Saving default branch for https://github.com/casbin/casbin
[DEBUG] Unlocking https-github.com-casbin-casbin
[INFO]  Resolving imports
[DEBUG] Resolving local dependencies
[ERROR] Failed to build an initial list of packages to scan: GetFileAttributesEx C:\GoPath\src\github.com\coreos\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd
\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\Documentation\dev-guide\apispec\swagger\v3election.s
wagger.json: The system cannot find the path specified.
[ERROR] Failed to resolve local packages: GetFileAttributesEx C:\GoPath\src\github.com\coreos\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\
etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\Documentation\dev-guide\apispec\swagger\v3election.swagger.json: The sy
stem cannot find the path specified.

C:\GoPath\src\github.com\coreos\etcd>glide --debug get github.com/Knetic/govaluate

C:\GoPath\src\github.com\coreos\etcd>glide --debug get github.com/Knetic/govaluate
[DEBUG] No mirrors.yaml file exists
[INFO]  Preparing to install 1 package.
[INFO]  Attempting to get package github.com/Knetic/govaluate
[INFO]  --> Gathering release information for github.com/Knetic/govaluate
[DEBUG] Setting up the cache directory
[INFO]  The package github.com/Knetic/govaluate appears to have Semantic Version releases (http://semver.org).
[INFO]  The latest release is v3.0.0. You are currently not using a release. Would you like
[INFO]  to use this release? Yes (Y) or No (N)
Y
[INFO]  The package github.com/Knetic/govaluate appears to use semantic versions (http://semver.org).
[INFO]  Would you like to track the latest minor or patch releases (major.minor.patch)?
[INFO]  Tracking minor version releases would use '>= 3.0.0, < 4.0.0' ('^3.0.0'). Tracking patch version
[INFO]  releases would use '>= 3.0.0, < 3.1.0' ('~3.0.0'). For more information on Glide versions
[INFO]  and ranges see https://glide.sh/docs/versions
[INFO]  Minor (M), Patch (P), or Skip Ranges (S)?
S
[INFO]  --> Adding github.com/Knetic/govaluate to your configuration with the version v3.0.0
[INFO]  Downloading dependencies. Please wait...
[DEBUG] Locking https-github.com-coreos-pkg
[DEBUG] Locking https-github.com-coreos-go-systemd
[INFO]  --> Fetching updates for github.com/coreos/pkg.
[DEBUG] Locking https-github.com-prometheus-procfs
[DEBUG] Locking https-github.com-bgentry-speakeasy
[DEBUG] Locking https-github.com-ghodss-yaml
[DEBUG] Locking https-github.com-cockroachdb-cmux
[DEBUG] Locking https-github.com-jonboulle-clockwork
[DEBUG] Locking https-github.com-dustin-go-humanize
[DEBUG] Locking https-github.com-kr-pty
[DEBUG] Locking https-github.com-olekukonko-tablewriter
[INFO]  --> Fetching updates for github.com/kr/pty.
[DEBUG] Locking https-github.com-gogo-protobuf
[DEBUG] Locking https-github.com-boltdb-bolt
[DEBUG] Locking https-github.com-google-btree
[DEBUG] Locking https-github.com-golang-protobuf
[DEBUG] Locking https-github.com-grpc-ecosystem-grpc-gateway
[INFO]  --> Fetching updates for github.com/golang/protobuf.
[DEBUG] Locking https-github.com-golang-groupcache
[DEBUG] Locking https-github.com-prometheus-common
[DEBUG] Locking https-github.com-mattn-go-runewidth
[DEBUG] Locking https-github.com-coreos-go-semver
[INFO]  --> Fetching updates for github.com/coreos/go-systemd.
[INFO]  --> Fetching updates for github.com/prometheus/procfs.
[INFO]  --> Fetching updates for github.com/bgentry/speakeasy.
[INFO]  --> Fetching updates for github.com/ghodss/yaml.
[INFO]  --> Fetching updates for github.com/cockroachdb/cmux.
[INFO]  --> Fetching updates for github.com/jonboulle/clockwork.
[INFO]  --> Fetching updates for github.com/dustin/go-humanize.
[INFO]  --> Fetching updates for github.com/olekukonko/tablewriter.
[INFO]  --> Fetching updates for github.com/gogo/protobuf.
[INFO]  --> Fetching updates for github.com/boltdb/bolt.
[INFO]  --> Fetching updates for github.com/google/btree.
[DEBUG] Locking https-github.com-prometheus-client_golang
[INFO]  --> Fetching updates for github.com/prometheus/client_golang.
[INFO]  --> Fetching updates for github.com/grpc-ecosystem/grpc-gateway.
[INFO]  --> Fetching updates for github.com/golang/groupcache.
[INFO]  --> Fetching updates for github.com/prometheus/common.
[INFO]  --> Fetching updates for github.com/mattn/go-runewidth.
[INFO]  --> Fetching updates for github.com/coreos/go-semver.
[DEBUG] github.com/google/btree is already set to version 925471ac9e2131377a91e1595defec898166fe49. Skipping update.
[DEBUG] Unlocking https-github.com-google-btree
[DEBUG] Locking https-github.com-spf13-cobra
[INFO]  --> Fetching updates for github.com/spf13/cobra.
[DEBUG] github.com/prometheus/procfs is already set to version a1dba9ce8baed984a2495b658c82687f8157b98f. Skipping update.
[DEBUG] Unlocking https-github.com-prometheus-procfs
[DEBUG] Locking https-github.com-spf13-pflag
[INFO]  --> Fetching updates for github.com/spf13/pflag.
[DEBUG] github.com/golang/groupcache is already set to version 02826c3e79038b59d737d3b1c0a1d937f71a4433. Skipping update.
[DEBUG] Unlocking https-github.com-golang-groupcache
[DEBUG] Locking https-github.com-ugorji-go
[INFO]  --> Fetching updates for github.com/ugorji/go.
[DEBUG] github.com/dustin/go-humanize is already set to version 8929fe90cee4b2cb9deb468b51fb34eba64d1bf0. Skipping update.
[DEBUG] Unlocking https-github.com-dustin-go-humanize
[DEBUG] Locking https-github.com-urfave-cli
[INFO]  --> Fetching updates for github.com/urfave/cli.
[DEBUG] github.com/golang/protobuf is already set to version 5a0f697c9ed9d68fef0116532c6e05cfeae00e55. Skipping update.
[DEBUG] Unlocking https-github.com-golang-protobuf
[DEBUG] Locking https-github.com-xiang90-probing
[INFO]  --> Fetching updates for github.com/xiang90/probing.
[DEBUG] github.com/olekukonko/tablewriter is already set to version a0225b3f23b5ce0cbec6d7a66a968f8a59eca9c4. Skipping update.
[DEBUG] Unlocking https-github.com-olekukonko-tablewriter
[DEBUG] Locking https-github.com-grpc-ecosystem-go-grpc-prometheus
[INFO]  --> Fetching updates for github.com/grpc-ecosystem/go-grpc-prometheus.
[DEBUG] github.com/cockroachdb/cmux is already set to version 112f0506e7743d64a6eb8fedbcff13d9979bbf92. Skipping update.
[DEBUG] Unlocking https-github.com-cockroachdb-cmux
[DEBUG] Locking https-golang.org-x-crypto
[INFO]  --> Fetching updates for golang.org/x/crypto.
[DEBUG] github.com/spf13/pflag is already set to version 08b1a584251b5b62f458943640fc8ebd4d50aaa5. Skipping update.
[DEBUG] Unlocking https-github.com-spf13-pflag
[DEBUG] Locking https-golang.org-x-net
[INFO]  --> Fetching updates for golang.org/x/net.
[DEBUG] github.com/spf13/cobra is already set to version 1c44ec8d3f1552cac48999f9306da23c4d8a288b. Skipping update.
[DEBUG] Unlocking https-github.com-spf13-cobra
[DEBUG] Locking https-golang.org-x-sys
[INFO]  --> Fetching updates for golang.org/x/sys.
[DEBUG] github.com/prometheus/common is already set to version 49fee292b27bfff7f354ee0f64e1bc4850462edf. Skipping update.
[DEBUG] Unlocking https-github.com-prometheus-common
[DEBUG] Locking https-golang.org-x-time
[INFO]  --> Fetching updates for golang.org/x/time.
[DEBUG] github.com/ugorji/go is already set to version ded73eae5db7e7a0ef6f55aace87a2873c5d2b74. Skipping update.
[DEBUG] Unlocking https-github.com-ugorji-go
[DEBUG] Locking https-google.golang.org-grpc
[INFO]  --> Fetching updates for google.golang.org/grpc.
[DEBUG] golang.org/x/crypto is already set to version 1351f936d976c60a0a48d728281922cf63eafb8d. Skipping update.
[DEBUG] Unlocking https-golang.org-x-crypto
[DEBUG] Locking https-gopkg.in-cheggaaa-pb.v1
[INFO]  --> Fetching updates for gopkg.in/cheggaaa/pb.v1.
[DEBUG] golang.org/x/sys is already set to version e48874b42435b4347fc52bdee0424a52abc974d7. Skipping update.
[DEBUG] Unlocking https-golang.org-x-sys
[DEBUG] Locking https-gopkg.in-yaml.v2
[INFO]  --> Fetching updates for gopkg.in/yaml.v2.
[DEBUG] Unlocking https-github.com-bgentry-speakeasy
[DEBUG] Locking https-github.com-dgrijalva-jwt-go
[INFO]  --> Fetching updates for github.com/dgrijalva/jwt-go.
[DEBUG] golang.org/x/time is already set to version c06e80d9300e4443158a03817b8a8cb37d230320. Skipping update.
[DEBUG] Unlocking https-golang.org-x-time
[DEBUG] Locking https-github.com-Knetic-govaluate
[INFO]  --> Fetching github.com/Knetic/govaluate.
[DEBUG] Adding github.com/Knetic/govaluate to the cache for the first time
[DEBUG] Unlocking https-github.com-boltdb-bolt
[DEBUG] golang.org/x/net is already set to version c8c74377599bd978aee1cf3b9b63a8634051cec2. Skipping update.
[DEBUG] Unlocking https-golang.org-x-net
[DEBUG] Unlocking https-github.com-ghodss-yaml
[DEBUG] Unlocking https-github.com-mattn-go-runewidth
[DEBUG] Unlocking https-github.com-coreos-pkg
[DEBUG] Unlocking https-github.com-prometheus-client_golang
[DEBUG] Unlocking https-github.com-kr-pty
[DEBUG] Unlocking https-github.com-coreos-go-semver
[DEBUG] Unlocking https-github.com-grpc-ecosystem-grpc-gateway
[DEBUG] Unlocking https-github.com-jonboulle-clockwork
[DEBUG] Unlocking https-github.com-gogo-protobuf
[DEBUG] gopkg.in/yaml.v2 is already set to version cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b. Skipping update.
[DEBUG] Unlocking https-gopkg.in-yaml.v2
[DEBUG] Unlocking https-github.com-xiang90-probing
[DEBUG] Unlocking https-github.com-grpc-ecosystem-go-grpc-prometheus
[DEBUG] Unlocking https-github.com-urfave-cli
[DEBUG] Unlocking https-google.golang.org-grpc
[DEBUG] Unlocking https-github.com-dgrijalva-jwt-go
[DEBUG] Unlocking https-gopkg.in-cheggaaa-pb.v1
[DEBUG] Unlocking https-github.com-coreos-go-systemd
[DEBUG] Attempting to find current branch for https://github.com/Knetic/govaluate
[DEBUG] Saving default branch for https://github.com/Knetic/govaluate
[DEBUG] Unlocking https-github.com-Knetic-govaluate
[INFO]  Resolving imports
[DEBUG] Resolving local dependencies
[ERROR] Failed to build an initial list of packages to scan: GetFileAttributesEx C:\GoPath\src\github.com\coreos\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd
\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\Documentation\dev-guide\apispec\swagger\v3election.s
wagger.json: The system cannot find the path specified.
[ERROR] Failed to resolve local packages: GetFileAttributesEx C:\GoPath\src\github.com\coreos\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\
etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\Documentation\dev-guide\apispec\swagger\v3election.swagger.json: The sy
stem cannot find the path specified.
hsluoyz commented 7 years ago

Update:

I found an much easier way to reproduce this bug, just run glide list would be enough:

C:\GoPath\src\github.com\coreos\etcd>glide list
[ERROR] Failed to build an initial list of packages to scan: open C:\GoPath\src\github.com\coreos\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\
cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\
etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd: Access is denied.
[ERROR] Error listing dependencies: open C:\GoPath\src\github.com\coreos\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etc
d\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cmd\etcd\cm
d\etcd\cmd\etcd\cmd\etcd\cmd\etcd: Access is denied.