MetaGPT icon indicating copy to clipboard operation
MetaGPT copied to clipboard

task not completed and issues during the process

Open d9vsky opened this issue 2 years ago • 11 comments

Hi, at the very beginning I would like to say, that the project idea is amazing and I like it pretty much. Congratulations.

I installed it on my docker desktop and I was able to run it, however I encountered some errors.

Here is my initial prompt: python startup.py "create a snake game that will be in a separate window and then snake will be in orange colour. When snake hits the wall the game is over."

And it was working properly until this step: image

for almost all files except mmd files in resources: image

and also md files for docs: image

After this part it did this: image

And then I got this error: image

so overall, no game was created, only the files that you see in docs and resources directories.

Can you please tell me how to solve these issues and test this solution to the fullest?

Thanks a lot!

d9vsky avatar Jul 11 '23 18:07 d9vsky

@voidking

geekan avatar Jul 12 '23 01:07 geekan

There is problem with metagpt/metagpt:v0.1 image. Because the browser does not exist in the mirror. I will fix this problem as soon as possible.

voidking avatar Jul 12 '23 02:07 voidking

https://github.com/geekan/MetaGPT/pull/43 almost fix this issue. pull & retry.

geekan avatar Jul 13 '23 06:07 geekan

#43 almost fix this issue. pull & retry.

Hi, thanks for the update. I pulled the 0.2v image and I got errors in the same place, but different ones. Please have a look below: image

d9vsky avatar Jul 13 '23 10:07 d9vsky

@voidking ……

geekan avatar Jul 13 '23 11:07 geekan

@d9vsky Are you running the command as root user?

voidking avatar Jul 13 '23 14:07 voidking

oh! I reproduced this problem. The same image can run normally with one host, but not with another host. I'll check again.

voidking avatar Jul 13 '23 14:07 voidking

Done! You can re-pull the v0.2 image and try again. I made a mistake and forgot to add the CHROME_DEVEL_SANDBOX variable to the container. The test host has set kernel.unprivileged_userns_clone=1 so it can work correctly but other host can't.

voidking avatar Jul 13 '23 15:07 voidking

I've repulled the image and started this command: image

but there are still issues appearing in this subject, just different ones again: image

d9vsky avatar Jul 13 '23 17:07 d9vsky

@voidking lucky boy, it's your turn

geekan avatar Jul 13 '23 17:07 geekan

@d9vsky You should start the container with --privileged option. The README has also been updated.

voidking avatar Jul 14 '23 00:07 voidking

The issue has been resolved, all files are created in the directories with no errors during the run.

d9vsky avatar Jul 14 '23 19:07 d9vsky