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

Failed to load resource #68

Closed
Windsland52 opened this issue Feb 20, 2024 · 4 comments · Fixed by MaaXYZ/MaaFramework#148
Closed

Failed to load resource #68

Windsland52 opened this issue Feb 20, 2024 · 4 comments · Fixed by MaaXYZ/MaaFramework#148

Comments

@Windsland52
Copy link
Contributor

第一次运行,下的最新release版本,运行时报错。
终端信息:

[2024-02-20 11:28:45.939][ERR][Px13788][Tx30830][PipelineResMgr.cpp][L56][MaaNS::ResourceNS::PipelineResMgr::load_all_json] path not exists
[2024-02-20 11:28:45.940][ERR][Px13788][Tx30830][PipelineResMgr.cpp][L21][MaaNS::ResourceNS::PipelineResMgr::load] load_all_json failed [path=/resource/base/pipeline]
[2024-02-20 11:28:45.943][ERR][Px13788][Tx30830][ResourceMgr.cpp][L99][MaaNS::ResourceNS::ResourceMgr::get_hash] path not exists or not a directory [p=/resource/base]
Failed to load resource

这是啥情况啊
maa.log

@MistEO
Copy link
Member

MistEO commented Feb 20, 2024

奇怪,我也没看懂,你怎么打开的?argv[0] 貌似传进来了个空字符串。。

@Windsland52
Copy link
Contributor Author

奇怪,我也没看懂,你怎么打开的?argv[0] 貌似传进来了个空字符串。。

又重新试了下,直接双击exe文件打开运行又没有问题了QAQ
之前的操作是在当前文件夹的地址栏输入cmd回车进入,然后在命令行里输入MaaPiCli.exe,这样运行就会报上面的错误

@Windsland52
Copy link
Contributor Author

奇怪,我也没看懂,你怎么打开的?argv[0] 貌似传进来了个空字符串。。

异常:
屏幕截图 2024-02-20 151425

正常:
屏幕截图 2024-02-20 151511

@MistEO
Copy link
Member

MistEO commented Feb 20, 2024

那看来用 cmd 打开进来的参数不太一样,我研究研究

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

Successfully merging a pull request may close this issue.

2 participants