-
Notifications
You must be signed in to change notification settings - Fork 1k
dep fails to init docker #129
Comments
I have another issue for this and tried again after a merge of a fix this
morning and it worked
…On Tue, Jan 24, 2017, 09:20 Alexander Morozov ***@***.***> wrote:
***@***.*** [±:master] docker % ~/project/workspace/bin/dep init
ouchie, solve error: No versions of github.com/gogo/protobuf met constraints:
master: Could not introduce ***@***.***, as its subpackage github.com/gogo/protobuf/types is missing. (Package is required by (root).)
v0.3: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
v0.2: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
v0.1: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
master: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
bigendian: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
bigskip: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
gopherjs: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
ptypes: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
std: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
wkt: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.No versions of github.com/gogo/protobuf met constraints:
master: Could not introduce ***@***.***, as its subpackage github.com/gogo/protobuf/types is missing. (Package is required by (root).)
v0.3: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
v0.2: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
v0.1: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
master: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
bigendian: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
bigskip: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
gopherjs: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
ptypes: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
std: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
wkt: Could not introduce ***@***.***, as it is not allowed by constraint master from project github.com/docker/docker.
***@***.*** [±:master] docker % go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/moroz/project/workspace"
GORACE=""
GOROOT="/home/moroz/go"
GOTOOLDIR="/home/moroz/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build254478034=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
I've removed vendor dir before doing init :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#129>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABYNbHZeIw1j2N-xSErS9QkMGceLwnV6ks5rVjLogaJpZM4Lsi1G>
.
|
I wonder if this is hitting the rate limiting problem and just had it all locally |
If you try with -v it will give more output but will try again when I get
to the office
…On Tue, Jan 24, 2017, 10:02 Jess Frazelle ***@***.***> wrote:
I wonder if this is hitting the rate limiting problem and just had it all
locally
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#129 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABYNbEbxzPtORx-MZNFnV3HNYab9tpncks5rVjxsgaJpZM4Lsi1G>
.
|
Errors like this are vaguely familiar to me - protobuf generated code(?). I don't have an immediate solution, but this was the original root problem in the solve, and doesn't look like it would have been caused by API rate limiting. That package just wasn't there in master. |
@sdboyer It looks like it's in master though |
Indeed, and since Aug 26. Might be a bug, then. Curious...did @jessfraz suggestions help? If not, did you have |
On second run I've encountered another error:
Both packages are exist at the master of distribution. |
yeah ok when the errors change like that, in the past for me it means rate limiting :( #115 |
@jessfraz Cool. So, we need ratelimit in tool and better error reporting :) |
This is one of the issues I need to write up - yes, we've discussed and would like to add some different init modes, rather than just inferring from GOPATH.
Depends on your perspective :) In the simple/vanilla Go user case that still just uses GOPATH, it's certainly the right approach. For people who use a tool, something else is needed. Which is what those different import modes is about. If you just remove these projects from your GOPATH, then you'll probably have better results - doing so will make
Ahh yeah - that'd do it! It does highlight another thing I need to do in gps, though - we should make sure to visit the upstream state of |
Heh, it's not really a cool option. I can try in empty gopath instead. |
I'm closing this as dupe of #115 to reduce noise. |
Totally fair - state mutation in GOPATH is never really an option. It's why we're in this mess! :)
That should do it! |
this is terrible advice but if you want it to eventually work for now just continually running it after like 2 times w the rate limit and waiting should work, well it did for me, but yeah sad story, it just needs to populate the cache |
I've removed vendor dir before doing init :)
The text was updated successfully, but these errors were encountered: