Closed MeStrak closed 6 years ago
@MeStrak - that is a new one.. after some digging around, it appears that the vendored http2
package is importing the golang.org/x/net/httplex
package, which was relocated in a recent commit:
https://github.com/golang/net/commit/cbb82b59bc5199680c5bf34109e12097095dca9b
I will need to update the vendored http2 package so that it no longer imports this. Or, if that doesn't work I'll need to see where Ponzu uses the older http2 stuff from golang.org/x/net packages.
Unfortunately, I don't know that there is a quick fix here, but will look into it ASAP and let you know once it is resolved.
Thanks nilslice. I've just found a possible quick fix - downloaded the github commit for Go net from 02 May before httplex was merged with httpguts and added that folder. It allowed me to compile and I can login to the admin interface at least. I'm doing some more testing now.
As I don't know anything about go, I don't know if the fact that it compiled means that it should be ok, or if I might encounter an error when it tries to run some of the code in httplex.
@MeStrak - that is a good quickfix, I'm glad you have it compiling. You should be fine, as long as you don't update that package you downloaded with the non-master commit. I will still track this down and push up a fix, so I'll leave this issue open until that is solved so anyone else who runs into this problem can see it is being tended to.
@MeStrak - if you don't mind, please run:
go get -u github.com/ponzu-cms/ponzu/...
and try again - the recent merge should solve this. thanks!
Thanks, working now!
am getting this error.. github.com/fabcar/go imports github.com/hyperledger/fabric-chaincode-go/pkg/cid imports crypto/x509 imports net imports golang_org/x/net/route: malformed module path "golang_org/x/net/route": missing dot in first path element github.com/fabcar/go imports github.com/hyperledger/fabric-protos-go/peer imports google.golang.org/grpc imports net/http imports golang_org/x/net/http2/hpack: malformed module path "golang_org/x/net/http2/hpack": missing dot in first path element github.com/fabcar/go imports github.com/hyperledger/fabric-protos-go/peer imports google.golang.org/grpc imports net/http imports golang_org/x/net/lex/httplex: malformed module path "golang_org/x/net/lex/httplex": missing dot in first path element ~/Project/BasicNetwork-2.0 Finished vendoring Go dependencies
@sarinkejohn https://github.com/ponzu-cms/ponzu/issues/349
I'm trying to run Ponzu in Windows. I've just downloaded and installed Go (I'm totally new to Go) and downloaded the ponzu repository with go get, now I'm stuck trying to do the build.
When I run
ponzu build
I get an error message: cannot find package "golang.org/x/net/lex/httplex"I tried to specifically get that package, but it can't be found. After some searching I came across the following post which says that it has been merged into httpguts: https://groups.google.com/forum/#!topic/golang-nuts/2crpmllOyOA
go version go1.10.2 windows/amd64
Can you help? Am I doing something silly?