geekan / MetaGPT

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
https://deepwisdom.ai/
MIT License
43.66k stars 5.2k forks source link

metagpt "Create a 2048 game" report error "Another program is using this file and the process cannot access it" #1168

Open longweiii opened 5 months ago

longweiii commented 5 months ago

Bug description 2024-04-09 16:41:38.825 | WARNING | metagpt.utils.git_repository:rename_root:214 - Move C:\Users\longw\projectspace\MetaGPT\workspace\20240409164058 to C:\Users\longw\projectspace\MetaGPT\workspace\game_2048 error: [WinError 32] Another program is using this file and the process cannot access it. : 'C:\Users\longw\projectspace\MetaGPT\workspace\20240409164058'

Environment information

微信图片_20240409170335

seehi commented 5 months ago

Does it affect the result? According to the log, the rename action was finally success. Check the code for details.

longweiii commented 5 months ago

it seems the doc folder contains .json file, not .doc or .pdf file, is it correct? 微信图片_20240410092032

longweiii commented 5 months ago

And I got this issue when I install python websockets: 微信图片_20240410093259

longweiii commented 5 months ago

Should I use main branch or v0.8-release branch to build?

longweiii commented 5 months ago

I use below command for 3 times: metagpt "Create a 2048 game"

But the generated code have bugs each time. How could I make metagpt generate correct code?

seehi commented 5 months ago

You can check these cases, they are all generated by metagpt.

longweiii commented 5 months ago

I meet a lot of such errors, how could I fix them? 微信图片_20240410200849 微信图片_20240410200857