NVIDIA / NVIDIA/GenerativeAIExamples
rag-playground PermissionError: [Errno 13] Permission denied: '/app/frontend/__init__.py'
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 4.2k
- Forks
- 1.1k
- Avg merge
- 10h 15m
- Merged PRs (30d)
- 1
Description
Using docker compose build in the ~/GenerativeAIExamples/RAG/examples/basic_rag/langchain directory, what appears to be the web front-end refuses to start:
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
import(pkg_name)
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 879, in exec_module
File "", line 1016, in get_code
File "", line 1073, in get_data
PermissionError: [Errno 13] Permission denied: '/app/frontend/init.py'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce with docker compose build from examples/basic_rag/langchain and inspect how the web front-end container handles /app/frontend/init.py. Trace the startup command from the reported Python import failure; done means the front end starts without the PermissionError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker-compose, python
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100