algorand / sandbox

Algorand node sandbox
239 stars 159 forks source link

Sandbox fails to start with latest commit #190

Closed agrofrank closed 1 year ago

agrofrank commented 1 year ago

Subject of the issue

The latest version is failing to start. We had to switch to commit e0a6a32c4b3fbd26d5546e94df6101a4c2b39e7d to keep using the sandbox!

Steps to reproduce

  1. Use latest commit on the master branch.
  2. Try running ./sandbox up.

Expected behaviour

All the apps should start.

Actual behaviour

The conduit fails to start.

agrofrank commented 1 year ago

@agroernesto @agrodiego

Alex99y commented 1 year ago

Hello @agrofrank I'm having this error:

#0 61.44 # github.com/vektra/mockery/v2/pkg
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:65:33: g.iface.NamedType.TypeParams undefined (type *types.Named has no field or method TypeParams)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:72:31: g.iface.NamedType.TypeArgs undefined (type *types.Named has no field or method TypeArgs)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:205:25: g.iface.NamedType.TypeParams undefined (type *types.Named has no field or method TypeParams)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:221:25: g.iface.NamedType.TypeParams undefined (type *types.Named has no field or method TypeParams)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:341:7: t.TypeArgs undefined (type *types.Named has no field or method TypeArgs)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:344:30: t.TypeArgs undefined (type *types.Named has no field or method TypeArgs)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:345:20: t.TypeArgs undefined (type *types.Named has no field or method TypeArgs)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:346:12: t.TypeArgs undefined (type *types.Named has no field or method TypeArgs)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:350:8: undefined: types.TypeParam
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:429:8: undefined: types.Union
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:429:8: too many errors
#0 61.44 note: module requires Go 1.20
#0 61.45 make: *** [Makefile:35: idb/mocks/IndexerDb.go] Error 2
------
DEBU[0000] using default config store "/root/.docker/buildx" 
DEBU[0000] serving grpc connection                      
DEBU[0000] stopping session                              span="load buildkit capabilities"
DEBU[0000] serving grpc connection                      
DEBU[0062] stopping session                             
failed to solve: process "/bin/sh -c /tmp/install.sh" did not complete successfully: exit code: 2

Is the same error you got?

pipaman commented 1 year ago

I am having the same one. Fixed applying this change: https://github.com/algorand/sandbox/pull/191

shiqizng commented 1 year ago

Feel free to use what's in #191 as a temporary fix. We'll publish a fix soon.

agrofrank commented 1 year ago

Great, thanks for the swift answers! I'll be on the lookout for any updates on the fix.