auqhjjqdo / LiveRecorder

基于Streamlink的全自动直播录制工具,已支持哔哩哔哩、斗鱼、虎牙、抖音、YouTube、Twitch等
MIT License
563 stars 62 forks source link

群晖源码,二进制文件运行均报错 #61

Closed 2284787774 closed 11 months ago

2284787774 commented 11 months ago

运行环境

版本号:2.27 运行平台:群晖 运行架构:amd64 Python版本:3.8

配置文件

{
  "proxy": "http://10.0.1.1:1082",
  "output": "Z:/afreecatv",
  "user": [
    {
      "platform": "Afreeca",
      "id": "twinhayoung",
      "name": "twinhayoung"
    }
  ]
}

复现步骤(可选)

1. 2. 3. ...

错误描述

两种方式都尝试过,均会报错

错误日志

root@U3865:/volume1/docker/LiveRecorder# ./LiveRecorder
./LiveRecorder: error while loading shared libraries: libz.so.1: failed to map segment from shared object

root@U3865:/volume1/docker/LiveRecorder# python -m live_recorder.py
/bin/sh: getconf: command not found
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "/volume1/docker/LiveRecorder/live_recorder.py", line 14, in <module>
    import jsengine
  File "/usr/lib/python3.8/site-packages/jsengine/__init__.py", line 11, in <module>
    from jsengine.external import ExternalJSEngine, ExternalInterpreter
  File "/usr/lib/python3.8/site-packages/jsengine/external.py", line 16, in <module>
    ARG_MAX = int(os.popen('getconf ARG_MAX').read())
ValueError: invalid literal for int() with base 10: ''

错误截图(可选)

No response

auqhjjqdo commented 11 months ago

使用源码直接运行时提示了/bin/sh: getconf: command not found,说明你的系统缺少该命令,非程序本身bug