You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the command python -m grpc_gateway_wrapper --proto <file>.proto generates an error:
# grpc-gateway-wrapper
./gateway.go:101:2: opts declared and not used
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/kingaj/.local/share/virtualenvs/text_sentiment-x2dwtZKr/lib/python3.11/site-packages/grpc_gateway_wrapper/__main__.py", line 9, in <module>
main()
File "/home/kingaj/.local/share/virtualenvs/text_sentiment-x2dwtZKr/lib/python3.11/site-packages/grpc_gateway_wrapper/gen_gateway.py", line 246, in main
cmd(f"go build -o {bin_out}", cwd=go_build_dir)
File "/home/kingaj/.local/share/virtualenvs/text_sentiment-x2dwtZKr/lib/python3.11/site-packages/grpc_gateway_wrapper/shell_tools.py", line 19, in cmd
raise RuntimeError(f"Command [{cmd}] failed with code {res.returncode}")
RuntimeError: Command [go build -o /home/kingaj/Github/caikit-flask/text_sentiment/build/app] failed with code 1
Platform
Please provide details about the environment you are using, including the following:
Interpreter version: Python 3.11.4
Library version: 0.1.0
The text was updated successfully, but these errors were encountered:
kingaj12
changed the title
go build gateway.go fails with opts declared and not used
Fail with ./gateway.go:101:2: opts declared and not usedJul 11, 2023
Describe the bug
Using the command
python -m grpc_gateway_wrapper --proto <file>.proto
generates an error:Platform
Please provide details about the environment you are using, including the following:
The text was updated successfully, but these errors were encountered: