rag-playground PermissionError: [Errno 13] Permission denied: '/app/frontend/__init__.py'

未关闭
#284 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
docker-compose, python
领域
devops

调研方向

从 examples/basic_rag/langchain 使用 docker compose build 复现,并检查 Web 前端容器如何处理 /app/frontend/init.py。根据报告的 Python 导入失败追踪启动命令;完成标准是前端在没有 PermissionError 的情况下启动。

由索引模型根据 Issue 内容生成。

描述

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'

主要语言
Jupyter Notebook
星标
4.2k
派生
1.1k
平均合并
10 小时 15 分钟
30 天内合并 PR
1

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA/GenerativeAIExamples 的其他 Issue

查看 NVIDIA/GenerativeAIExamples 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。