cogment-tutorial-rps icon indicating copy to clipboard operation
cogment-tutorial-rps copied to clipboard

cogment run generate error

Open Crazyalltnt opened this issue 4 years ago • 2 comments

Hello AIR sir: When I tested after installing cogment according to the document (https://docs.cogment.ai/introduction/installation/#test-your-installation), some errors occurred. The red box in the picture indicates that the proto_path is incorrect. One more &nbsp and one less /. The correct path should be xxx/cogment/cogment-tutorial-rps/5-human-player/data.proto But here is xxx/cogment/cogment-tutorial-rps/5-human-player data.proto

I check the code in generate.go of cogment-cli, and it seems that the path is connected with spaces. Is this the cause of the splicing error between the parent directory and the proto file path? How can I solve this problem?

image image

Crazyalltnt avatar Oct 26 '21 14:10 Crazyalltnt

Thank you for your report we will investigate!

cloderic avatar Nov 01 '21 14:11 cloderic

Hello, this has now been fixed and will be available in the next version of this repository. Thank you for bringing this to our attention ^-^

air-sara avatar Nov 05 '21 14:11 air-sara