-
Notifications
You must be signed in to change notification settings - Fork 1k
Dep init Hangs #823
Comments
@timjchin thanks for reporting. Is this a public repo? It would be very helpful to be able to reproduce it. |
@darkowlzz unfortunately this is not a public repo, and it could not become public. Is there some information that I could gather for you? |
@timjchin Can you run |
Sure! @darkowlzz here's the output:
|
@darkowlzz, this is possibly related, the hanging here is happening while trying to import from the same Godeps.json described in this issue. |
@timjchin yep, right. The hash is messing it up. It's trying to look for |
@timjchin for now, you can just remove the |
So I had this problem too... it's a two factor problem. The first is that if you don't run with -v, then after all the "trying... using..." then nothing is printed out for the work where it prints "select... attempt... try....". Even though dep is actually doing something, it's a long process, and thus it looks like it is hanging. Because it looks hung, people hit ctrl-C, which then corrupts the dep cache, and screws up further dep init attempts. So the fix is two factor as well:
|
@natefinch correct. I think we can use this issue for fixing the above points you mentioned and #827 for fixing for godep impoter @timjchin if you're trying again, clear the whole dep cache |
I have submitted PR #869 that I think would address this issue as well. The problem seems to be that your revision is mistaken for a |
This case, with all that spam about the This is actually kinda nice, though, because I've been daunted by the problem of classifying errors for that purpose. But these are easily classifiable - " |
I have the same problem. |
What version of Go (
go version
) anddep
(git describe --tags
) are you using?Go version
go1.7.4 darwin/amd64
Dep Version
v0.1.0-215-g911cd22
What
dep
command did you run?dep init
Output:
What did you expect to see?
dep init
would complete.What did you see instead?
After printing
Using ^287.0.0 as initial constraint for imported dep labix.org/v2/mgo
, dep init hung for about 20 minutes. When killed,dep
panicked and printed out a stack trace (pasted above).The text was updated successfully, but these errors were encountered: