MetaGPT icon indicating copy to clipboard operation
MetaGPT copied to clipboard

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

Open longweiii opened this issue 1 year ago • 7 comments

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

  • LLM type and model name: gpt-4-turbo-preview
  • System version:Window11
  • Python version:3.10.11
  • MetaGPT version or branch: main

微信图片_20240409170335

longweiii avatar Apr 09 '24 09:04 longweiii

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

seehi avatar Apr 09 '24 12:04 seehi

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

longweiii avatar Apr 10 '24 01:04 longweiii

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

longweiii avatar Apr 10 '24 01:04 longweiii

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

longweiii avatar Apr 10 '24 01:04 longweiii

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?

longweiii avatar Apr 10 '24 04:04 longweiii

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

seehi avatar Apr 10 '24 08:04 seehi

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

longweiii avatar Apr 10 '24 12:04 longweiii