gpt-engineer: WSL2 gpte File List bad Behavior

Expected Behavior

WSL2 gpte uses existing .gitignore, then gives opportunity to select and deselect files, save, and close. Else use existing file_selection.toml. Else use existing .gitignore. Else don’t overwrite existing files! Else don’t overwrite existing read-only files!

Current Behavior

WSL2 gpte generates its own .gitignore, overwriting existing .gitignore, even when .gitignore is read-only, then generates its own file_selection.toml, based on its own .gitignore, overwriting existing file_selection.toml.

Failure Information

Windows 11 WSL2 Ubuntu

Steps to Reproduce

$ gpte project -i

Failure Logs

File list detected at /mnt/c/Users/J/gpt-engineer/projects/[project]/.gpteng/file_selection.toml. Edit or delete it if you want to select new files. Please select and deselect (add # in front) files, save it, and close it to continue... write: /mnt/c/Users/J/gpt-engineer/projects/[project]/.gpteng/file_selection.toml is not logged in

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Comments: 15

Most upvoted comments

Calm down. We can’t reproduce your issue. We’re keeping this open to collect additional, and hopefully more detailed, information on this. If you can provide more detailed information to help us reproduce this issue, we’re keen for it. We’re also keen for others to provide details on this issue, as they experience the same.

That is a relevant detail as the issue isn’t reproducible with the details you’ve provided and the files that are created are generated by the model directly. We will keep this issue open for a time to see if others report a similar problem but, being unable to reproduce the issue, and without a direct cause evident in the codebase as previously observed by @Styren, we have no immediate next actions.

Thanks for pushing this. Yes, this indeed sounds very problematic

Ok, sounds quite serious with the overwrite. Can you look into this @Styren ?