Skip to content

buf generation issue #4785

@solsw

Description

@solsw

As Julien asked in Discord:
I have

  • created new virtual Ubuntu Server 24.04 under Azure;

  • installed go;

  • installed ignite (curl https://get.ignite.com/cli! | bash);

  • run 'ignite scaffold chain example';

  • got:

     ERROR 

    Failed to generate openapi spec /home/osubachev/go/pkg/mod/github.com/cosmos/ibc-go/v10@v10.2.0/proto, probally you
    need to exclude some proto files: error while running command go tool github.com/bufbuild/buf/cmd/buf generate
    /home/osubachev/go/pkg/mod/github.com/cosmos/ibc-go/v10@v10.2.0/proto/ibc/core/connection/v1/genesis.proto --error-
    format=json --log-format=json --template=/home/osubachev/example/proto/buf.gen.swagger.yaml --output=/tmp/gen-
    openapi-module-spec235062921: Failure: plugin go tool github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-
    openapiv2: signal: killed : exit status 1.

  • restarted virtual machine;

  • removed downloaded ignite from /usr/local/bin/;

  • downloaded the latest commit from julien/fix-gen:
    git clone https://github.com/ignite/cli.git --branch julien/fix-gen --single-branch --depth 1

  • compiled and installed ignite (make install), now ignite is in $HOME/go/bin/;

  • run 'ignite scaffold chain example';

  • got exactly the same error.

ignite v28 works OK.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions