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

连续出走时卡住 #63

Closed
fatinghenji opened this issue Jun 17, 2021 · 7 comments
Closed

连续出走时卡住 #63

fatinghenji opened this issue Jun 17, 2021 · 7 comments
Labels
duplicate This issue or pull request already exists

Comments

@fatinghenji
Copy link

last_screenshot local

  • 最后截图如上所示
  • 卡住之前最后的log如下
DEBUG [2021-06-18 00:47:16]:auto_derby.template:41: screenshot
DEBUG [2021-06-18 00:47:16]:auto_derby.template:55: load: return_button.pos.png
DEBUG [2021-06-18 00:47:16]:auto_derby.template:71: can not load: return_button.pos.png: [Errno 2] No such file or directory: 'E:\\auto-derby\\auto_derby\\templates\\return_button.pos.png'
DEBUG [2021-06-18 00:47:16]:auto_derby.template:55: load: return_button.png
DEBUG [2021-06-18 00:47:16]:auto_derby.template:117: lightness match: tmpl=tmpl<return_button.png>, similarity=1.000
INFO  [2021-06-18 00:47:16]:auto_derby.template:162: match: tmpl=tmpl<return_button.png>, pos=(42, 911), similarity=0.97
DEBUG [2021-06-18 00:47:16]:auto_derby.template:41: screenshot
DEBUG [2021-06-18 00:47:16]:auto_derby.template:55: load: single_mode_command_race.pos.png
DEBUG [2021-06-18 00:47:16]:auto_derby.template:55: load: single_mode_command_race.png
DEBUG [2021-06-18 00:47:16]:auto_derby.template:117: lightness match: tmpl=tmpl<single_mode_command_race.png>, similarity=0.957
INFO  [2021-06-18 00:47:16]:auto_derby.template:162: match: tmpl=tmpl<single_mode_command_race.png>, pos=(379, 860), similarity=0.95
DEBUG [2021-06-18 00:47:17]:auto_derby.template:55: load: single_mode_continuous_race_title.pos.png
DEBUG [2021-06-18 00:47:17]:auto_derby.template:71: can not load: single_mode_continuous_race_title.pos.png: [Errno 2] No such file or directory: 'E:\\auto-derby\\auto_derby\\templates\\single_mode_continuous_race_title.pos.png'
DEBUG [2021-06-18 00:47:17]:auto_derby.template:55: load: single_mode_continuous_race_title.png
DEBUG [2021-06-18 00:47:17]:auto_derby.template:158: not match: tmpl=tmpl<single_mode_continuous_race_title.png>, pos=(145, 893), similarity=0.469
INFO  [2021-06-18 00:47:17]:auto_derby.template:178: no match: tmpl=('single_mode_continuous_race_title.png',)
WARNING[2021-06-18 00:47:19]:auto_derby.window:113: recover foreground window failed: (1400, 'SetForegroundWindow', '无效的窗口句柄。')
DEBUG [2021-06-18 00:47:20]:auto_derby.template:41: screenshot
DEBUG [2021-06-18 00:47:20]:auto_derby.template:55: load: single_mode_race_detail_button.pos.png
DEBUG [2021-06-18 00:47:20]:auto_derby.template:55: load: single_mode_race_detail_button.png
DEBUG [2021-06-18 00:47:20]:auto_derby.template:158: not match: tmpl=tmpl<single_mode_race_detail_button.png>, pos=(495, 354), similarity=0.000
INFO  [2021-06-18 00:47:20]:auto_derby.template:178: no match: tmpl=(tmpl<single_mode_race_detail_button.png>,)
DEBUG [2021-06-18 00:47:20]:auto_derby.template:41: screenshot
DEBUG [2021-06-18 00:47:20]:auto_derby.template:158: not match: tmpl=tmpl<single_mode_race_detail_button.png>, pos=(495, 354), similarity=0.000
INFO  [2021-06-18 00:47:20]:auto_derby.template:178: no match: tmpl=(tmpl<single_mode_race_detail_button.png>,)
  • 重新启动auto-derby可以复现。
@NateScarlet
Copy link
Owner

什么版本 好像和 #57 是同一个问题

@fatinghenji
Copy link
Author

怎么查看版本号?我是在北京时间2021-06-1719:53分pull的源码。

@NateScarlet NateScarlet added the duplicate This issue or pull request already exists label Jun 17, 2021
@NateScarlet
Copy link
Owner

你用启动器的话日志和标题都有

或者你手动运行 git describe --dirty --always

@fatinghenji
Copy link
Author

7fd912e-dirty

@NateScarlet
Copy link
Owner

你 pull 的应该是主分支 这个问题我 30 分钟前刚从开发分支合并过来

@fatinghenji
Copy link
Author

我重新pull一下试试

@fatinghenji

This comment has been minimized.

NateScarlet added a commit that referenced this issue Jun 17, 2021
@NateScarlet NateScarlet changed the title 点击位置出现偏差 连续出走时卡住 Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants