Azure-Samples / graphrag-accelerator

One-click deploy of a Knowledge Graph powered RAG (GraphRAG) in Azure
https://github.com/microsoft/graphrag
MIT License
1.91k stars 315 forks source link

[BUG] Cannot start devcontainer - missing pyproject.toml file in /graphrag-accelerator or its parents #196

Open cf-rdegregory opened 3 weeks ago

cf-rdegregory commented 3 weeks ago

Describe the bug The devcontainer cannot start due to a missing Poetry config file, which is causing the entrypoint.sh script to fail.

To Reproduce Steps to reproduce the behavior:

  1. Clone the repo.
  2. Open the repo in VS Code.
  3. Use VS Code's Reopen in Container feature. image
  4. View build logs.
  5. View error (see Screenshot below).

Expected behavior devcontainer starts.

Screenshots image

Desktop (please complete the following information):

Additional context I believe that this is due to the fronted and backend both having pyproject.toml files, while the entrypoint.sh script is attempting to run poetry install from the root of the repository.

cf-rdegregory commented 3 weeks ago

When I cd backend/ and then run poetry install, I'm given a different, permissions-based error when creating the venv.

image

caddyjoe77 commented 2 weeks ago

im seeing the same exact behavior