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

ui.exe 运行无效 #67

Open
Statgenius opened this issue Mar 21, 2020 · 5 comments
Open

ui.exe 运行无效 #67

Statgenius opened this issue Mar 21, 2020 · 5 comments

Comments

@Statgenius
Copy link

在沙箱环境下,所有requirement所需包已下载,点开ui.exe,运行无论御魂,御灵还是探索,阴阳师都没有任何反应;阴阳师未处于最小化。
点击log查看error。 内容如下。
2020 Mar 21 16:19:46 onmyoji.py [line:114] INFO root UAC pass
2020 Mar 21 16:19:46 onmyoji.py [line:102] ERROR root Traceback (most recent call last):
File "onmyoji.py", line 117, in
File "onmyoji.py", line 45, in init
File "mitama\single_fight.py", line 13, in init
File "gameLib\fighter.py", line 50, in init
File "gameLib\game_ctl.py", line 30, in init
error: (1400, 'GetWindowRect', 'Invalid window handle.')

谷歌后,怀疑是pywinauto的版本问题,将pywinauto降低版本至pywinauto==0.6.4,log内容依旧不变。阴阳师也没有任何反应。

谢谢帮助。

@AcademicDog
Copy link
Owner

沙盒会改变阴阳师窗口名,需要设置。具体请看doc.onmyojibot.com。

@Statgenius
Copy link
Author

Statgenius commented Mar 22, 2020 via email

@AcademicDog
Copy link
Owner

我感觉不只是功能的问题,同样的函数,在模拟器和大漠插件上实现就要可靠得多。所以我现在开了个新坑,做在手机上运行的apk。

@Statgenius
Copy link
Author

Statgenius commented Mar 24, 2020 via email

@ballerwangbo
Copy link

希望作者能统计一下有多少人,用了哪些功能,用了多长时间。这样就会知道哪些地方除了问题。

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

3 participants