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] bash脚本不执行 #772

Open
2 tasks done
wakefun opened this issue Nov 13, 2024 · 4 comments
Open
2 tasks done

🐛[BUG] bash脚本不执行 #772

wakefun opened this issue Nov 13, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@wakefun
Copy link

wakefun commented Nov 13, 2024

⚠️ 确认是否已存在类似问题

  • 我已经搜索过issues,没有找到类似问题

🔧 运行方式

使用docker运行

🐍 如果是使用源代码运行,请选择你的Python环境版本

None

💻 请选择你的系统环境

Debian

⚠️ 确认是否已经重试多次

  • 我已经尝试过多次,仍然出现问题

🕹 复现步骤

docker运行最新的包v3.0.9
config.ini配置:

是否录制完成后执行bash脚本 = 是
bash脚本路径 = /app/shells/test.sh

docker-compose.yaml配置:

    volumes:
      - ./shells:/app/shells

录制小红书直播
直播正常录制,但是不执行bash脚本

😯 问题描述

已经确认脚本可以正常执行,docker exec -ti bash 进入容器后也可以正常执行脚本/app/shells/test.sh,但是实际容器启动录制后,录制完成没有执行脚本。辛苦测试一下,对python不熟悉,无法提供调试日志。

📜 错误信息

No response

@wakefun wakefun added the bug Something isn't working label Nov 13, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛[BUG] bash script does not execute

⚠️ Confirm whether similar problems already exist

  • I have searched for issues and found no similar issues.

🔧 How to run

Run using docker

🐍 If you are running from source code, please select your Python environment version

None

💻 Please select your system environment

Debian

⚠️ Confirm whether it has been retried multiple times

  • I've tried multiple times and still have problems

🕹 Steps to reproduce

docker runs the latest package [v3.0.9](https://hub.docker.com/layers/ihmily/douyin-live-recorder/v3.0.9/images/sha256-a562b79e6901019302c8a997a3727cd2c3f1a1fff81280a2fd684956cb62e4bb?context= explore),
config.ini configuration:

Whether to execute the bash script after recording is completed = Yes
bash script path = /app/shells/test.sh

docker-compose.yaml configuration:

    volumes:
      - ./shells:/app/shells

Recording Xiaohongshu Live Broadcast
The live broadcast is recorded normally, but the bash script is not executed.

😯 Problem description

It has been confirmed that the script can be executed normally. docker exec -ti bash can also execute the script /app/shells/test.sh normally after entering the container. However, after the actual container starts recording, the script is not executed after the recording is completed. I'll try it out. I'm not familiar with Python, so I can't provide debugging logs.

📜 Error message

No response

@ihmily
Copy link
Owner

ihmily commented Nov 30, 2024

可以试试最新版,看看是否能正常执行

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


You can try the latest version to see if it can run normally.

@ihmily
Copy link
Owner

ihmily commented Nov 30, 2024

#771 (comment)

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

3 participants