hgjazhgj / FGO-py

自动爬塔! 自动每周任务! 全自动免配置跨平台的Fate/Grand Order助手.启动脚本,上床睡觉,养肝护发,满加成圣诞了解一下?
http://fgo-py.hgjazhgj.top/
GNU Affero General Public License v3.0
1.53k stars 179 forks source link

肝!模块失灵 #147

Closed coilofFaraday closed 3 weeks ago

coilofFaraday commented 3 weeks ago

在提问之前...

描述你的问题

在windows11下,gui版本程序中,选择章节-关卡-次数-肝! 会在主界面不断下滑,不进入对应章节,同样的问题也出现在 抽友情模块中,不停滑动选择池子但不会停下

如何复现

  1. 前往FGO-py的gui程序
  2. 点击章节-关卡-次数-肝!
  3. 会正确返回主界面,然后上下滑动,最后不断向下滑动,且不会报错退出
  4. 出现问题

预期行为

本应进入对应章节,疑似_ocr_失灵,但同一台机器,完成战斗模块工作正常

相关日志

[2024-11-01 07:11:51,956][INFO]<fgo> FGO-py v19.4.1 PID 49916
[2024-11-01 07:11:51,959][WARNING]<fgo.Android> Using Adb in PATH: D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.EXE
[2024-11-01 07:12:02,801][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe devices
[2024-11-01 07:12:03,598][INFO]<fgo.Cli> ping
[2024-11-01 07:12:03,598][CRITICAL]<fgo.Cli> pong
[2024-11-01 07:12:03,598][INFO]<fgo.Cli> Done in 0.000s
[2024-11-01 07:12:03,607][INFO]<fgo.Cli> connect 127.0.0.1:16416
[2024-11-01 07:12:04,566][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 get-state
[2024-11-01 07:12:04,706][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 wait-for-device
[2024-11-01 07:12:04,845][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell getprop ro.build.version.sdk
[2024-11-01 07:12:04,987][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell dumpsys activity top
[2024-11-01 07:12:05,256][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell ls -l /data/local/tmp/rotationwatcher.jar
[2024-11-01 07:12:05,429][DEBUG]<airtest.core.android.rotation> install_rotationwatcher skipped
[2024-11-01 07:12:05,429][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell app_process -Djava.class.path=/data/local/tmp/rotationwatcher.jar /data/local/tmp com.example.rotationwatcher.Main
[2024-11-01 07:12:05,814][DEBUG]<airtest.utils.nbsp> [rotation_server]b'90'
[2024-11-01 07:12:06,500][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell wm size
[2024-11-01 07:12:06,500][INFO]<airtest.core.android.rotation> update orientation None->1
[2024-11-01 07:12:06,888][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell getprop ro.sf.lcd_density
[2024-11-01 07:12:07,033][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell dumpsys SurfaceFlinger
[2024-11-01 07:12:07,276][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell dumpsys input
[2024-11-01 07:12:07,496][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell getevent -p
[2024-11-01 07:12:07,949][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell dumpsys window windows
[2024-11-01 07:12:08,116][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell dumpsys window windows
[2024-11-01 07:12:08,270][WARNING]<fgo.Detect> Package: com.bilibili.fgo.huawei, Region: CN
[2024-11-01 07:12:08,270][INFO]<fgo.Cli> Done in 4.663s
[2024-11-01 07:12:08,272][INFO]<fgo.Cli> call dailyFpSummon
[2024-11-01 07:12:08,273][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell ls -l /data/local/tmp/maxpresent.jar
[2024-11-01 07:12:08,429][DEBUG]<airtest.core.android.touch_methods.maxtouch> install_maxtouch skipped
[2024-11-01 07:12:08,429][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 forward --no-rebind tcp:14855 localabstract:maxpresent_14855
[2024-11-01 07:12:08,565][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell app_process -Djava.class.path=/data/local/tmp/maxpresent.jar /data/local/tmp com.netease.maxpresent.MaxPresent socket maxpresent_14855
[2024-11-01 07:12:09,015][DEBUG]<airtest.utils.nbsp> [airtouch_server]b'Metrics Message : 1280.0=====720.0'
[2024-11-01 07:12:09,016][DEBUG]<airtest.utils.nbsp> [airtouch_server]b'Start local socket (maxpresent_14855) server...'
[2024-11-01 07:12:09,291][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell dumpsys package com.netease.nie.yosemite
[2024-11-01 07:12:09,456][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 forward --no-rebind tcp:18171 localabstract:javacap_18171
[2024-11-01 07:12:09,592][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell pm path com.netease.nie.yosemite
[2024-11-01 07:12:09,750][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell CLASSPATH=/data/app/~~aTeHioMGAfKHLI5oGn_Rvg==/com.netease.nie.yosemite-pPX4mChkjOB6xBe96Yrm6w==/base.apk exec app_process /system/bin com.netease.nie.yosemite.Capture --scale 100 --socket javacap_18171 -lazy 2>&1
[2024-11-01 07:12:10,353][DEBUG]<airtest.utils.nbsp> [javacap_sever]b'Capture server listening on @javacap_18171'
[2024-11-01 07:12:10,371][ERROR]<airtest.core.android.cap_methods.screen_proxy> OSError('socket connection broken')
[2024-11-01 07:12:10,371][ERROR]<airtest.core.android.cap_methods.screen_proxy> Javacap setup up failed!
[2024-11-01 07:12:10,371][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell ls /data/local/tmp/minicap
[2024-11-01 07:12:10,384][DEBUG]<airtest.utils.nbsp> [javacap_sever]b''
[2024-11-01 07:12:10,539][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell ls /data/local/tmp/minicap.so
[2024-11-01 07:12:10,694][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -v 2>&1
[2024-11-01 07:12:10,886][ERROR]<airtest.core.android.cap_methods.minicap> stdout[b'CANNOT LINK EXECUTABLE "/data/local/tmp/minicap": "/data/local/tmp/minicap.so" is 32-bit instead of 64-bit\r\n'] stderr[b'']
[2024-11-01 07:12:10,886][DEBUG]<airtest.core.android.cap_methods.minicap> upgrade minicap to lastest version: -1->5
[2024-11-01 07:12:10,886][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell rm -r /data/local/tmp/minicap*
[2024-11-01 07:12:11,064][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell getprop ro.product.cpu.abi
[2024-11-01 07:12:11,217][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell getprop ro.build.version.preview_sdk
[2024-11-01 07:12:11,357][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell getprop ro.build.version.release
[2024-11-01 07:12:11,505][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 push D:\wp\tools\FGO-py.portable\Python311\Lib\site-packages\airtest\core\android\static\stf_libs\x86_64\minicap /data/local/tmp/minicap
[2024-11-01 07:12:11,756][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell chmod 755 /data/local/tmp/minicap
[2024-11-01 07:12:11,907][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 push D:\wp\tools\FGO-py.portable\Python311\Lib\site-packages\airtest\core\android\static\stf_libs\minicap-shared/aosp/libs/android-32/x86_64/minicap.so /data/local/tmp/minicap.so
[2024-11-01 07:12:12,064][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell chmod 755 /data/local/tmp/minicap.so
[2024-11-01 07:12:12,212][INFO]<airtest.core.android.cap_methods.minicap> minicap installation finished
[2024-11-01 07:12:12,212][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -n 'airtest_minicap' -P 720x1280@720x1280/90 -s
[2024-11-01 07:12:12,368][ERROR]<airtest.core.android.cap_methods.screen_proxy> b''
[2024-11-01 07:12:12,368][ERROR]<airtest.core.android.cap_methods.screen_proxy> b'CANNOT LINK EXECUTABLE "/data/local/tmp/minicap": "/data/local/tmp/minicap.so" is 32-bit instead of 64-bit\r\n'
[2024-11-01 07:12:12,368][ERROR]<airtest.core.android.cap_methods.screen_proxy> Minicap setup up failed!
[2024-11-01 07:12:12,415][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:13,121][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:13,815][DEBUG]<fgo.Fuse> 0
[2024-11-01 07:12:14,816][DEBUG]<fgo.Detect> isMainInterface True
[2024-11-01 07:12:17,880][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:18,463][DEBUG]<fgo.Fuse> 0
[2024-11-01 07:12:18,464][DEBUG]<fgo.Detect> isMainInterface True
[2024-11-01 07:12:19,964][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:20,529][DEBUG]<fgo.Fuse> 0
[2024-11-01 07:12:20,530][DEBUG]<fgo.Detect> isFpSummon False
[2024-11-01 07:12:22,062][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:22,706][DEBUG]<fgo.Fuse> 1
[2024-11-01 07:12:22,707][DEBUG]<fgo.Detect> isFpSummon False
[2024-11-01 07:12:24,239][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:24,857][DEBUG]<fgo.Fuse> 2
[2024-11-01 07:12:24,858][DEBUG]<fgo.Detect> isFpSummon False
[2024-11-01 07:12:26,389][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:26,977][DEBUG]<fgo.Fuse> 3
[2024-11-01 07:12:26,978][DEBUG]<fgo.Detect> isFpSummon False
[2024-11-01 07:12:28,510][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:29,108][DEBUG]<fgo.Fuse> 4
[2024-11-01 07:12:29,109][DEBUG]<fgo.Detect> isFpSummon False
[2024-11-01 07:12:30,640][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:31,232][DEBUG]<fgo.Fuse> 5
[2024-11-01 07:12:31,233][DEBUG]<fgo.Detect> isFpSummon False
[2024-11-01 07:12:32,765][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:33,366][DEBUG]<fgo.Fuse> 6
[2024-11-01 07:12:33,367][DEBUG]<fgo.Detect> isFpSummon False
[2024-11-01 07:12:34,899][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:35,468][DEBUG]<fgo.Fuse> 7
[2024-11-01 07:12:35,469][DEBUG]<fgo.Detect> isFpSummon False
[2024-11-01 07:12:37,001][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:37,619][DEBUG]<fgo.Fuse> 8
[2024-11-01 07:12:37,620][DEBUG]<fgo.Detect> isFpSummon False
[2024-11-01 07:12:39,152][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:39,747][DEBUG]<fgo.Fuse> 9
[2024-11-01 07:12:39,748][DEBUG]<fgo.Detect> isFpSummon False
[2024-11-01 07:12:41,280][DEBUG]<airtest.core.android.adb> D:\program\AlasApp_0.4.5_fullcn\AzurLaneAutoScript\toolkit\Lib\site-packages\adbutils\binaries\adb.exe -s 127.0.0.1:16416 shell screencap -p
[2024-11-01 07:12:41,883][DEBUG]<fgo.Fuse> 10

截图

Screenshot_2024-11-05_05 07 29 279 Screenshot_2024-11-05_05 07 17 298

其他

操作系统:Windows 11 专业版 22631.4317 FGO-py 版本:v19.4.1 CPU 型号:intel(R) Core(TM) i7-10700 CPU

来点色图

GaUOqwvbUAEffrE

coilofFaraday commented 3 weeks ago

Additional 迦勒底之门工作正常 其他关卡都会失败 疑似是右上角有红点影响ocr(?)

hgjazhgj commented 3 weeks ago

请提供至少一张由FGO-py创建的截图

hgjazhgj commented 3 weeks ago

你尚未完成主线剧情第一部,特异点与亚种特异点的传送路径不同

45