Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]使用基于 Docker 的代码执行器出现未从沙箱输出中捕获到合法的输出的问题 #916

Open
1 of 2 tasks
Shouugou opened this issue Mar 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Shouugou
Copy link

发生了什么

[21:26:00] [Plug] [WARN] [python_interpreter.main:484]: 未从沙箱输出中捕获到合法的输出。沙箱输出日志: ["python: can't open file '/astrbot_sandbox/exec.py': [Errno 2] No such file or directory\n"]

如何复现?

调用工具函数:python_interpreter

AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

astrbot版本:3.4.39
docker版本:26.1.3
docker-compose版本:2.23.0

操作系统

Linux

报错日志

Image

你愿意提交 PR 吗?

  • 是的,我愿意提交 PR!

Code of Conduct

@Shouugou Shouugou added the bug Something isn't working label Mar 21, 2025
@Shouugou Shouugou changed the title [Bug]使用基于基于 Docker 的代码执行器出现未从沙箱输出中捕获到合法的输出的问题 [Bug]使用基于 Docker 的代码执行器出现未从沙箱输出中捕获到合法的输出的问题 Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant