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

Libs outdated #556

Closed
mishop opened this issue Mar 21, 2024 · 2 comments
Closed

Libs outdated #556

mishop opened this issue Mar 21, 2024 · 2 comments

Comments

@mishop
Copy link

mishop commented Mar 21, 2024

I found same bugs in latest version
Jaeger migrated to OpenTelemetry no update more

../pkg/mod/contrib.go.opencensus.io/exporter/jaeger@v0.2.1/agent.go:76:11: a.client.SeqId undefined (type *agent.AgentClient has no field or method SeqId)
../pkg/mod/contrib.go.opencensus.io/exporter/jaeger@v0.2.1/agent.go:77:31: not enough arguments in call to a.client.EmitBatch
	have (*"github.com/uber/jaeger-client-go/thrift-gen/jaeger".Batch)
	want (context.Context, *"github.com/uber/jaeger-client-go/thrift-gen/jaeger".Batch)
../pkg/mod/contrib.go.opencensus.io/exporter/jaeger@v0.2.1/jaeger.go:363:22: not enough arguments in call to obj.Write
	have (*thrift.TBinaryProtocol)
	want (context.Context, thrift.TProtocol)``` 

After remove jeager bug lines, I got this bug. 

``` # flamingo.me/flamingo-commerce-adapter-standalone/commercesearch/infrastructure/commercesearch
../pkg/mod/flamingo.me/flamingo-commerce-adapter-standalone@v0.0.4-beta/commercesearch/infrastructure/commercesearch/bleverepository.go:698:14: cannot use string(searchDomain.TreeFacet) (constant "TreeFacet" of type string) as "flamingo.me/flamingo-commerce/v3/search/domain".FacetType value in struct literal
../pkg/mod/flamingo.me/flamingo-commerce-adapter-standalone@v0.0.4-beta/commercesearch/infrastructure/commercesearch/bleverepository.go:713:14: cannot use string(searchDomain.ListFacet) (constant "ListFacet" of type string) as "flamingo.me/flamingo-commerce/v3/search/domain".FacetType value in struct literal``` 
@mishop
Copy link
Author

mishop commented Mar 23, 2024

go version go1.22.1 darwin/amd64
misho@Mishos-MacBook-Pro:~/go/example-commerce% make serve  
DEBUG=1 CONTEXT=dev:testproducts go run main.go serve
# contrib.go.opencensus.io/exporter/jaeger
../pkg/mod/contrib.go.opencensus.io/exporter/jaeger@v0.2.1/agent.go:76:11: a.client.SeqId undefined (type *agent.AgentClient has no field or method SeqId)
../pkg/mod/contrib.go.opencensus.io/exporter/jaeger@v0.2.1/agent.go:77:31: not enough arguments in call to a.client.EmitBatch
	have (*"github.com/uber/jaeger-client-go/thrift-gen/jaeger".Batch)
	want (context.Context, *"github.com/uber/jaeger-client-go/thrift-gen/jaeger".Batch)
../pkg/mod/contrib.go.opencensus.io/exporter/jaeger@v0.2.1/jaeger.go:363:22: not enough arguments in call to obj.Write
	have (*thrift.TBinaryProtocol)
	want (context.Context, thrift.TProtocol)
# flamingo.me/flamingo-commerce-adapter-standalone/commercesearch/infrastructure/productsearch
../pkg/mod/flamingo.me/flamingo-commerce-adapter-standalone@v0.0.3-beta/commercesearch/infrastructure/productsearch/bleverepository.go:688:14: cannot use string(searchDomain.TreeFacet) (constant "TreeFacet" of type string) as "flamingo.me/flamingo-commerce/v3/search/domain".FacetType value in struct literal
../pkg/mod/flamingo.me/flamingo-commerce-adapter-standalone@v0.0.3-beta/commercesearch/infrastructure/productsearch/bleverepository.go:703:14: cannot use string(searchDomain.ListFacet) (constant "ListFacet" of type string) as "flamingo.me/flamingo-commerce/v3/search/domain".FacetType value in struct literal
make: *** [serve] Error 1
zsh: exit 2     make serve

@IvanMaidurov
Copy link
Contributor

resolved in this Issue

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

No branches or pull requests

2 participants