Giter Club home page Giter Club logo

Comments (10)

luoysuan avatar luoysuan commented on June 15, 2024

追加问题,上面的问题是先启动了lol然后软件启动后报错,之后我先启动了软件,然后添加了LolPath之后再启动软件还是和上面一样的报错。
image

from seraphine.

Hpero4 avatar Hpero4 commented on June 15, 2024

我尝试了一下, 未能复现问题; 这似乎与系统环境有关系, python在使用subprocess调用外部命令时, 得到非0返回就会报这个错;

Debug需要更多信息, 麻烦在https://github.com/Zzaphkiel/Seraphine/blob/9b832c37560881a31ee9b36d62cff54d252ada14/app/lol/listener.py#L8C1-L11

添加以下代码以捕获更多错误时信息:

except subprocess.CalledProcessError as e:
    print("exit code:", e.returncode)

from seraphine.

Hpero4 avatar Hpero4 commented on June 15, 2024

您的电脑系统中似乎缺少 "tasklist.exe", 请执行以下命令确定是否因环境变量原因导致tasklist无法执行;

C:\Windows\System32\tasklist.exe

若仍报同样错误, 则需要检查是否安装了精简版的系统

from seraphine.

luoysuan avatar luoysuan commented on June 15, 2024

您的电脑系统中似乎缺少 "tasklist.exe", 请执行以下命令确定是否因环境变量原因导致tasklist无法执行;

C:\Windows\System32\tasklist.exe

若仍报同样错误, 则需要检查是否安装了精简版的系统
这个是缺少了吗?
image

from seraphine.

luoysuan avatar luoysuan commented on June 15, 2024

您的电脑系统中似乎缺少 "tasklist.exe", 请执行以下命令确定是否因环境变量原因导致tasklist无法执行;

C:\Windows\System32\tasklist.exe

若仍报同样错误, 则需要检查是否安装了精简版的系统

但是我用文件搜索的软件却能查询到这个exe文件
image

from seraphine.

Hpero4 avatar Hpero4 commented on June 15, 2024

参考此链接

https://www.cnblogs.com/clement-jiao/p/9658806.html

from seraphine.

luoysuan avatar luoysuan commented on June 15, 2024

参考此链接

https://www.cnblogs.com/clement-jiao/p/9658806.html

排查了一下 可能确实是系统有问题

from seraphine.

ssincxv avatar ssincxv commented on June 15, 2024

Windows Management Instrumentation有引发windows cpu占用异常的问题,所以我把Windows Management Instrumentation禁了

from seraphine.

tanshaobing avatar tanshaobing commented on June 15, 2024

@Zzaphkiel 服务一直处于“自动 正在运行“的状态,打开软件还是会出现这个弹窗报错

from seraphine.

Sprite0821 avatar Sprite0821 commented on June 15, 2024

同上,wmi正在运行,自动,打开软件报错为 tasklist.exe不可用

from seraphine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.