Closed znnby1997 closed 4 years ago
Please refer to these existing issues #65 #48 #21. If you cannot solve it, please show how you execute the render (i.e. working path) and your files under the directory ./build/render
. The error is caused by the render not being able to find the video data file (e.g. video_1.txt
).
MAgent/build/render on git:master x [0:42:15] $ ls config.json index.html js render static.map vendor (base)
I find there is no video_1.txt in /build/render/
Could you please provide your building messages and the files in /build/render
as well? We need these information to pinpoint the problem.
You need to first run the scripts to generate the video file and then are able to watch it. Please follow the README to execute any of the training scripts (i.e. battle/gathering/pursuit)
only executing demo_api.py couldn't generate the video file? I execute the demo_api.py.
No. api_demo.py
is only showing examples on how to use our APIs. Please follow the README and Get Started to use our codes.
Issue closed since duplicate of #48. If you still have problems, please reopen the issue.
$ ./render [2019-12-20 00:26:05] [0x1080ad5c0] Listening on port 9030 [2019-12-20 00:26:15] [0x1080ad5c0] successfully connected to the client [2019-12-20 00:26:17] [0x1080ad5c0] message receive: lconfig.json,video_1.txt [2019-12-20 00:26:17] [0x1080ad5c0] magent::render::RenderException: "invalid handle of the map data file" [2019-12-20 00:26:24] [0x1080ad5c0] the client closed the connection ^C (base)
clicking the index.html file will lead to the RenderException: "invalid handle of the map data file"