AzurLaneAutoScript
AzurLaneAutoScript copied to clipboard
商店购买时报错停止
在提问之前...
- [x] 我已经搜索了现有的 issues
- [x] 我在提问题之前至少花费了 5 分钟来思考和准备
- [x] 我已经阅读了 Wiki 中的 常见问题(FAQ)
- [x] 我正在使用最新版的 Alas
描述你的问题
商店购买时报错停止
如何复现
启用GUILD SHOP,SHOP BUY功能
预期行为
正常运行
相关 Logs
═══════════════════════════════════ GUILD SHOP ════════════════════════════════════
INFO 00:35:43.091 │ GUILD SHOP
──────────────────────────────────── SHOP BUY ─────────────────────────────────────
INFO 00:35:43.093 │ SHOP BUY
INFO 00:35:43.094 │ Loading template folder: ./assets/shop/guild
INFO 00:35:43.124 │ [next_template_index] 47
INFO 00:35:43.218 │ [Price_ocr 0.073s] [800, 300, 2000, 70, 70]
INFO 00:35:43.220 │ [Item detected] 5
INFO 00:35:43.488 │ [Price_ocr 0.092s] [800, 300, 2000, 70, 70, 70]
INFO 00:35:43.490 │ [Item detected] 6
INFO 00:35:43.785 │ [Price_ocr 0.089s] [800, 300, 2000, 70, 70, 70]
INFO 00:35:43.787 │ [Item detected] 6
INFO 00:35:43.789 │ Shop row 1: ['ShipT2_x1_GuildCoins_x800',
'ShipT2_x1_GuildCoins_x300', 'ShipT2_x1_GuildCoins_x2000']
INFO 00:35:43.790 │ Shop row 2: ['BoxT3_x1_GuildCoins_x70',
'BoxT3_x1_GuildCoins_x70', 'BoxT3_x1_GuildCoins_x70']
INFO 00:35:43.819 │ [SHOP_OCR_BALANCE 0.027s] 5174
INFO 00:35:43.821 │ Guild coins: 5174
INFO 00:35:43.822 │ Shop buy finished
INFO 00:35:43.823 │ Shop refresh
INFO 00:36:42.696 │ Function calls:
<string> L1 <module>
spawn.py L105 spawn_main()
spawn.py L118 _main()
process.py L297 _bootstrap()
process.py L99 run()
process_manager.py L166 run_process()
alas.py L555 loop()
alas.py L69 run()
alas.py L222 shop_once()
shop_reward.py L31 run_once()
shop_guild.py L112 run()
ui.py L83 shop_refresh()
base.py L148 loop()
device.py L188 screenshot()
device.py L250 stuck_record_check()
device.py L43 show_function_call()
WARNING 00:36:42.699 │ Wait too long
WARNING 00:36:42.700 │ Waiting for {'TAB_MERIT', 'SHOP_REFRESH', 'GET_SHIP',
'TAB_GUILD', 'POPUP_CONFIRM_WHITE', 'POPUP_CONFIRM', 'TAB_GENERAL',
'GET_ITEMS_1', 'GET_ITEMS_3', 'POPUP_CANCEL'}
INFO 00:36:42.779 │ [Package_name] com.bilibili.blhx.huawei
ERROR 00:36:42.780 │ GameStuckError: Wait too long
WARNING 00:36:42.781 │ Saving error: ./log/error/1762187802781
WARNING 00:36:42.922 │ Game stuck, com.bilibili.blhx.huawei will be restarted in
10 seconds
WARNING 00:36:42.924 │ If you are playing by hand, please stop Alas
INFO 00:36:42.924 │ Task call: Restart
INFO 00:36:42.930 │ Bind task ['General', 'Alas', 'ShopOnce']
INFO 00:36:42.931 │ Save config ./config\alas.json,
Restart.Scheduler.NextRun=datetime.datetime(2025, 11, 4, 0, 36, 42),
Restart.Scheduler.Enable=True
INFO 00:36:52.940 │ Scheduler: End task `ShopOnce`
CRITICAL 00:36:52.942 │ Task `ShopOnce` failed 3 or more times.
CRITICAL 00:36:52.943 │ Possible reason #1: You haven't used it correctly. Please
read the help text of the options.
CRITICAL 00:36:52.944 │ Possible reason #2: There is a problem with this task.
Please contact developers or try to fix it yourself.
CRITICAL 00:36:52.946 │ Request human takeover
INFO 00:36:53.043 │ No provider specified, skip sending
截图
No response
还有别的吗?
No response
雷电模拟器9遇到相同问题.
同问题,而且我是每次卡在舰队商店发呆报错,ban掉舰队商店后会在勋章商店一直往下拉条接着报错
同,只能暂时关闭”其他商店”功能才能继续使用
遇到同样问题,反复触发重启调度 日志如下
═══════════════════════════════════ GUILD SHOP ════════════════════════════════════
INFO 02:37:53.598 │ GUILD SHOP
──────────────────────────────────── SHOP BUY ─────────────────────────────────────
INFO 02:37:53.600 │ SHOP BUY
INFO 02:37:53.601 │ Loading template folder: ./assets/shop/guild
INFO 02:37:53.754 │ [next_template_index] 47
INFO 02:37:53.814 │ [Price_ocr 0.039s] [800, 300, 2000]
INFO 02:37:53.815 │ [Item detected] 3
INFO 02:37:53.872 │ [Price_ocr 0.037s] [800, 300, 2000]
INFO 02:37:53.874 │ [Item detected] 3
INFO 02:37:53.876 │ Shop row 1: ['ShipT2_x1_GuildCoins_x800',
'ShipT2_x1_GuildCoins_x300', 'ShipT2_x1_GuildCoins_x2000']
INFO 02:37:53.877 │ Shop row 2: []
INFO 02:37:53.901 │ [SHOP_OCR_BALANCE 0.023s] 103566
INFO 02:37:53.902 │ Guild coins: 103566
INFO 02:37:53.903 │ Shop buy finished
INFO 02:37:53.905 │ Shop refresh
INFO 02:38:53.385 │ Function calls:
<string> L1 <module>
spawn.py L105 spawn_main()
spawn.py L118 _main()
process.py L297 _bootstrap()
process.py L99 run()
process_manager.py L166 run_process()
alas.py L555 loop()
alas.py L69 run()
alas.py L222 shop_once()
shop_reward.py L31 run_once()
shop_guild.py L112 run()
ui.py L83 shop_refresh()
base.py L148 loop()
device.py L188 screenshot()
device.py L250 stuck_record_check()
device.py L43 show_function_call()
WARNING 02:38:53.389 │ Wait too long
WARNING 02:38:53.390 │ Waiting for {'GET_SHIP', 'TAB_MERIT', 'TAB_GENERAL',
'GET_ITEMS_1', 'GET_ITEMS_3', 'POPUP_CONFIRM', 'POPUP_CONFIRM_WHITE',
'TAB_GUILD', 'SHOP_REFRESH', 'POPUP_CANCEL'}
INFO 02:38:53.654 │ [Package_name] com.bilibili.azurlane
ERROR 02:38:53.655 │ GameStuckError: Wait too long
WARNING 02:38:53.657 │ Saving error: ./log/error/1762195133657
WARNING 02:38:53.912 │ Game stuck, com.bilibili.azurlane will be restarted in 10
seconds
WARNING 02:38:53.915 │ If you are playing by hand, please stop Alas
INFO 02:38:53.916 │ Task call: Restart
INFO 02:38:53.925 │ Bind task ['General', 'Alas', 'ShopOnce']
INFO 02:38:53.927 │ Save config ./config\alas.json,
Restart.Scheduler.NextRun=datetime.datetime(2025, 11, 4, 2, 38, 53),
Restart.Scheduler.Enable=True
INFO 02:39:03.961 │ Scheduler: End task `ShopOnce`
看没人发报错截图,同问题我附一张
MUMU12遇到了同样的问题
same problem
我也是 mumu 模拟器,卡在舰队商店页面
──────────────────────────────────────────────────────── SHOP BUY ─────────────────────────────────────────────────────────
INFO 11:01:14.646 │ SHOP BUY
INFO 11:01:14.648 │ Loading template folder: ./assets/shop/guild
INFO 11:01:14.680 │ [next_template_index] 47
INFO 11:01:14.733 │ [Price_ocr 0.033s] [800, 300, 2000, 10, 70]
INFO 11:01:14.736 │ [Item detected] 5
INFO 11:01:15.228 │ [Price_ocr 0.025s] [800, 300, 2000, 10, 70]
INFO 11:01:15.231 │ [Item detected] 5
INFO 11:01:15.233 │ Shop row 1: ['ShipT2_x1_GuildCoins_x800', 'ShipT2_x1_GuildCoins_x300',
'ShipT2_x1_GuildCoins_x2000']
INFO 11:01:15.236 │ Shop row 2: ['PlateT2_x1_GuildCoins_x10', 'BoxT3_x1_GuildCoins_x70']
INFO 11:01:15.254 │ [SHOP_OCR_BALANCE 0.016s] 45264
INFO 11:01:15.257 │ Guild coins: 45264
INFO 11:01:15.260 │ Shop buy finished
INFO 11:01:15.262 │ Shop refresh
INFO 11:02:13.721 │ Function calls:
threading.py L890 _bootstrap()
threading.py L926 _bootstrap_inner()
threading.py L870 run()
threadbased.py L254 run()
output.py L801 click_callback()
app.py L435 <lambda>
process_manager.py L51 start()
process.py L112 start()
context.py L223 _Popen()
context.py L277 _Popen()
popen_fork.py L20 __init__()
popen_fork.py L74 _launch()
process.py L297 _bootstrap()
process.py L99 run()
process_manager.py L166 run_process()
alas.py L555 loop()
alas.py L69 run()
alas.py L222 shop_once()
shop_reward.py L31 run_once()
shop_guild.py L112 run()
ui.py L83 shop_refresh()
base.py L148 loop()
device.py L188 screenshot()
device.py L250 stuck_record_check()
device.py L43 show_function_call()
WARNING 11:02:13.732 │ Wait too long
WARNING 11:02:13.735 │ Waiting for {'TAB_META', 'TAB_GUILD', 'GET_ITEMS_3', 'TAB_PROTOTYPE', 'GET_SHIP',
'TAB_CORE_MONTHLY', 'TAB_PRIZE', 'POPUP_CONFIRM', 'TAB_GENERAL', 'SHOP_REFRESH', 'TAB_MERIT', 'TAB_CORE_LIMITED',
'GET_ITEMS_1', 'POPUP_CONFIRM_WHITE', 'POPUP_CANCEL', 'TAB_MEDAL'}
INFO 11:02:13.743 │ newCommandTimeout updated to 168h0m0s
INFO 11:02:13.745 │ [u2.Device] Device(atx_agent_url=http://127.0.0.1:40779)
INFO 11:02:13.808 │ [Package_name] com.bilibili.azurlane
ERROR 11:02:13.811 │ GameStuckError: Wait too long
WARNING 11:02:13.813 │ Saving error: ./log/error/1762225333813
WARNING 11:02:14.121 │ Game stuck, com.bilibili.azurlane will be restarted in 10 seconds
WARNING 11:02:14.124 │ If you are playing by hand, please stop Alas
INFO 11:02:14.127 │ Task call: Restart
INFO 11:02:14.135 │ Bind task ['General', 'Alas', 'ShopOnce']
INFO 11:02:14.138 │ Save config ./config/alas.json, Restart.Scheduler.NextRun=datetime.datetime(2025, 11, 4, 11, 2,
14), Restart.Scheduler.Enable=True
INFO 11:02:24.161 │ Scheduler: End task `ShopOnce`
INFO 11:02:24.376 │ Server "所罗门" is available.
INFO 11:02:24.385 │ [Server] cn
INFO 11:02:24.412 │ Bind task ['General', 'Alas']
INFO 11:02:24.419 │ Pending tasks: ['Restart', 'ShopOnce', 'PrivateQuarters', 'OpsiAshBeacon', 'OpsiDaily',
'OpsiAbyssal', 'OpsiStronghold', 'OpsiObscure', 'Daily', 'Hard', 'OpsiAshAssist', 'EventSp', 'Event', 'Main',
'OpsiMeowfficerFarming', 'OpsiHazard1Leveling']
INFO 11:02:24.423 │ [Task] Restart (Enable, 2025-11-04 11:02:14)
INFO 11:02:24.426 │ Bind task ['General', 'Alas', 'Restart']
INFO 11:02:24.434 │ Scheduler: Start task `Restart`
同遇,用的是mumu12