cogment / cogment-tutorial-rps

Cogment tutorial
https://cogment.ai
Apache License 2.0
23 stars 1 forks source link

cogment run generate error #1

Open Crazyalltnt opened 2 years ago

Crazyalltnt commented 2 years ago

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

cloderic commented 2 years ago

Thank you for your report we will investigate!

air-sara commented 2 years ago

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 ^-^