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 #1

Open
Deng-Xian-Sheng opened this issue Nov 3, 2020 · 0 comments
Open

目前的bug #1

Deng-Xian-Sheng opened this issue Nov 3, 2020 · 0 comments

Comments

@Deng-Xian-Sheng
Copy link
Owner

Deng-Xian-Sheng commented Nov 3, 2020

在install脚本执行到
echo $PasswdValueRead | sudo -S launchctl load -w ~/Library/LaunchAgents/BaiduCloudGuardian.plist
有几率报错:
/Users/wendy/Library/LaunchAgents/BaiduCloudGuardian.plist: Path had bad ownership/permissions
如果上一个报错未发生,或者手动使用命令:
sudo launchctl load -w ~/Library/LaunchAgents/BaiduCloudGuardian.plist
修复之后,在:
/Users/用户名/BaiduCloudGuardian/Logs
可能有这样的报错
/bin/sh: ./PmsetCheck: No such file or directory
Traceback (most recent call last):
File "/Users/wendy/BaiduCloudGuardian/PythonMain", line 19, in <module>
BatterySleepList = PmsetValueList[0]
IndexError: list index out of range
这个问题困扰很久了,这些shell脚本和python程序在终端里执行没问题,但launchd调用他们时却出错。
无力解决,抱歉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant