Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install #221

Open
kaihendry opened this issue Oct 4, 2017 · 5 comments
Open

Fails to install #221

kaihendry opened this issue Oct 4, 2017 · 5 comments

Comments

@kaihendry
Copy link

~$ go get -u -f github.com/yarpc/yab
# github.com/uber/jaeger-client-go/thrift-gen/jaeger
go/src/github.com/uber/jaeger-client-go/thrift-gen/jaeger/agent.go:101:34: cannot use agentProcessorEmitBatch literal (type *agentProcessorEmitBatch) as type t
hrift.TProcessorFunction in assignment:
        *agentProcessorEmitBatch does not implement thrift.TProcessorFunction (wrong type for Process method)
                have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
                want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
go/src/github.com/uber/jaeger-client-go/thrift-gen/jaeger/agent.go:111:27: not enough arguments in call to processor.Process
        have (int32, thrift.TProtocol, thrift.TProtocol)
        want (context.Context, int32, thrift.TProtocol, thrift.TProtocol)
# github.com/uber/jaeger-client-go/thrift-gen/sampling
go/src/github.com/uber/jaeger-client-go/thrift-gen/sampling/samplingmanager.go:147:44: cannot use samplingManagerProcessorGetSamplingStrategy literal (type *sa
mplingManagerProcessorGetSamplingStrategy) as type thrift.TProcessorFunction in assignment:
        *samplingManagerProcessorGetSamplingStrategy does not implement thrift.TProcessorFunction (wrong type for Process method)
                have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
                want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
go/src/github.com/uber/jaeger-client-go/thrift-gen/sampling/samplingmanager.go:157:27: not enough arguments in call to processor.Process
        have (int32, thrift.TProtocol, thrift.TProtocol)
        want (context.Context, int32, thrift.TProtocol, thrift.TProtocol)
# github.com/uber/jaeger-client-go/thrift-gen/zipkincore
go/src/github.com/uber/jaeger-client-go/thrift-gen/zipkincore/zipkincollector.go:147:42: cannot use zipkinCollectorProcessorSubmitZipkinBatch literal (type *zi
pkinCollectorProcessorSubmitZipkinBatch) as type thrift.TProcessorFunction in assignment:
        *zipkinCollectorProcessorSubmitZipkinBatch does not implement thrift.TProcessorFunction (wrong type for Process method)
                have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
                want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
go/src/github.com/uber/jaeger-client-go/thrift-gen/zipkincore/zipkincollector.go:157:27: not enough arguments in call to processor.Process
        have (int32, thrift.TProtocol, thrift.TProtocol)
        want (context.Context, int32, thrift.TProtocol, thrift.TProtocol)
# github.com/uber/tchannel-go/thrift/gen-go/meta
go/src/github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:289:31: cannot use metaProcessorHealth literal (type *metaProcessorHealth) as type thrift.TProces
sorFunction in assignment:
        *metaProcessorHealth does not implement thrift.TProcessorFunction (wrong type for Process method)
                have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
                want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
go/src/github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:290:34: cannot use metaProcessorThriftIDL literal (type *metaProcessorThriftIDL) as type thrift.T
ProcessorFunction in assignment:
        *metaProcessorThriftIDL does not implement thrift.TProcessorFunction (wrong type for Process method)
                have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
                want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
go/src/github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:291:36: cannot use metaProcessorVersionInfo literal (type *metaProcessorVersionInfo) as type thri
ft.TProcessorFunction in assignment:
        *metaProcessorVersionInfo does not implement thrift.TProcessorFunction (wrong type for Process method)
                have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
                want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
go/src/github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:301:27: not enough arguments in call to processor.Process
        have (int32, thrift.TProtocol, thrift.TProtocol)
        want (context.Context, int32, thrift.TProtocol, thrift.TProtocol)
~$ go get -u -f github.com/yarpc/yab
^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y# github.com/uber/jaeger-client-go/thrift-gen/jaeger
go/src/github.com/uber/jaeger-client-go/thrift-gen/jaeger/agent.go:101:34: cannot use agentProcessorEmitBatch literal (type *agentProcessorEmitBatch) as type t
hrift.TProcessorFunction in assignment:
        *agentProcessorEmitBatch does not implement thrift.TProcessorFunction (wrong type for Process method)
                have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
                want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
go/src/github.com/uber/jaeger-client-go/thrift-gen/jaeger/agent.go:111:27: not enough arguments in call to processor.Process
        have (int32, thrift.TProtocol, thrift.TProtocol)
        want (context.Context, int32, thrift.TProtocol, thrift.TProtocol)
# github.com/uber/jaeger-client-go/thrift-gen/zipkincore
go/src/github.com/uber/jaeger-client-go/thrift-gen/zipkincore/zipkincollector.go:147:42: cannot use zipkinCollectorProcessorSubmitZipkinBatch literal (type *zi
pkinCollectorProcessorSubmitZipkinBatch) as type thrift.TProcessorFunction in assignment:
        *zipkinCollectorProcessorSubmitZipkinBatch does not implement thrift.TProcessorFunction (wrong type for Process method)
                have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
                want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
go/src/github.com/uber/jaeger-client-go/thrift-gen/zipkincore/zipkincollector.go:157:27: not enough arguments in call to processor.Process
        have (int32, thrift.TProtocol, thrift.TProtocol)
        want (context.Context, int32, thrift.TProtocol, thrift.TProtocol)
# github.com/uber/jaeger-client-go/thrift-gen/sampling
go/src/github.com/uber/jaeger-client-go/thrift-gen/sampling/samplingmanager.go:147:44: cannot use samplingManagerProcessorGetSamplingStrategy literal (type *sa
mplingManagerProcessorGetSamplingStrategy) as type thrift.TProcessorFunction in assignment:
        *samplingManagerProcessorGetSamplingStrategy does not implement thrift.TProcessorFunction (wrong type for Process method)
                have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
                want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
go/src/github.com/uber/jaeger-client-go/thrift-gen/sampling/samplingmanager.go:157:27: not enough arguments in call to processor.Process
        have (int32, thrift.TProtocol, thrift.TProtocol)
        want (context.Context, int32, thrift.TProtocol, thrift.TProtocol)
# github.com/uber/tchannel-go/thrift/gen-go/meta
go/src/github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:289:31: cannot use metaProcessorHealth literal (type *metaProcessorHealth) as type thrift.TProces
sorFunction in assignment:
        *metaProcessorHealth does not implement thrift.TProcessorFunction (wrong type for Process method)
                have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
                want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
go/src/github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:290:34: cannot use metaProcessorThriftIDL literal (type *metaProcessorThriftIDL) as type thrift.T
ProcessorFunction in assignment:
        *metaProcessorThriftIDL does not implement thrift.TProcessorFunction (wrong type for Process method)
                have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
                want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
go/src/github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:291:36: cannot use metaProcessorVersionInfo literal (type *metaProcessorVersionInfo) as type thri
ft.TProcessorFunction in assignment:
        *metaProcessorVersionInfo does not implement thrift.TProcessorFunction (wrong type for Process method)
                have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
                want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
go/src/github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:301:27: not enough arguments in call to processor.Process
        have (int32, thrift.TProtocol, thrift.TProtocol)
        want (context.Context, int32, thrift.TProtocol, thrift.TProtocol)
~$

@APTy
Copy link
Contributor

APTy commented Oct 5, 2017

Looks related to jaegertracing/jaeger-client-go#184

It may be the case that yab is no longer go get-able. If that's the case, we should update the README to reflect that.

@narulacool
Copy link

Even I am unable to uninstall with following error:

go get -u -f github.com/yarpc/yab
package golang.org/x/net/context: unrecognized import path "golang.org/x/net/context" (https fetch: Get https://golang.org/x/net/context?go-get=1: net/http: TLS handshake timeout)
package golang.org/x/net/ipv4: unrecognized import path "golang.org/x/net/ipv4" (https fetch: Get https://golang.org/x/net/ipv4?go-get=1: net/http: TLS handshake timeout)
package golang.org/x/net/ipv6: unrecognized import path "golang.org/x/net/ipv6" (https fetch: Get https://golang.org/x/net/ipv6?go-get=1: net/http: TLS handshake timeout)

@RylanSchaeffer
Copy link

Any updates on this issue @APTy ?

When I run go get -u -f github.com/yarpc/yab, I receive the following output (but no error) and afterwards, yab has not been installed:

# github.com/uber/tchannel-go/thrift/gen-go/meta
../../../github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:79:20: not enough arguments in call to oprot.Flush
    have ()
    want (context.Context)
../../../github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:103:15: assignment mismatch: 2 variables but 1 values
../../../github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:152:20: not enough arguments in call to oprot.Flush
    have ()
    want (context.Context)
../../../github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:176:15: assignment mismatch: 2 variables but 1 values
../../../github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:225:20: not enough arguments in call to oprot.Flush
    have ()
    want (context.Context)
../../../github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:249:15: assignment mismatch: 2 variables but 1 values
../../../github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:295:31: cannot use metaProcessorHealth literal (type *metaProcessorHealth) as type thrift.TProcessorFunction in assignment:
    *metaProcessorHealth does not implement thrift.TProcessorFunction (wrong type for Process method)
        have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
        want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
../../../github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:296:34: cannot use metaProcessorThriftIDL literal (type *metaProcessorThriftIDL) as type thrift.TProcessorFunction in assignment:
    *metaProcessorThriftIDL does not implement thrift.TProcessorFunction (wrong type for Process method)
        have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
        want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
../../../github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:297:36: cannot use metaProcessorVersionInfo literal (type *metaProcessorVersionInfo) as type thrift.TProcessorFunction in assignment:
    *metaProcessorVersionInfo does not implement thrift.TProcessorFunction (wrong type for Process method)
        have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
        want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException)
../../../github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:307:27: not enough arguments in call to processor.Process
    have (int32, thrift.TProtocol, thrift.TProtocol)
    want (context.Context, int32, thrift.TProtocol, thrift.TProtocol)
../../../github.com/uber/tchannel-go/thrift/gen-go/meta/meta.go:307:27: too many errors
# github.com/yarpc/yab/protobuf
../../../github.com/yarpc/yab/protobuf/source_reflection.go:38:3: r.InitialAddrs undefined (type *manual.Resolver has no field or method InitialAddrs)

@APTy
Copy link
Contributor

APTy commented Jun 3, 2019

It looks like glide is the only supported method for installing yab from source. Alternatively, you can get a precompiled binary on the Release page.

@bugcy013
Copy link

Hi Team,

Still, I am getting this error

dhana013@probook ~/go $ GO111MODULE=on go get -u github.com/yarpc/yab
go: github.com/yarpc/yab upgrade => v0.18.0
go get: github.com/yarpc/[email protected] requires
	github.com/uber-go/[email protected]: invalid version: unknown revision 000000000000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants