Skip to content

侵蚀一卡住 #5732

Description

@gf2530679945

在提问之前...

  • 我已经搜索了现有的 issues
  • 我在提问题之前至少花费了 5 分钟来思考和准备
  • 我已经阅读了 Wiki 中的 常见问题(FAQ)
  • 我正在使用最新版的 Alas

描述你的问题

刷侵蚀一卡住

如何复现

猜测是在刷侵蚀一时有任务出现时需要打断侵蚀一,最后卡在战斗结束的界面,挂几个小时就会出现
使用设备为星界链云手机alas 32G版

预期行为

能识别战斗结束的界面,使得alas能正常运行
或者直接重启碧蓝航线app

相关 Logs

INFO     11:41:09.155 │ Click ( 434,  569) @ ACTION_POINT_CANCEL                                                      
══════════════════════════════════════════ OS HAZARD 1 LEVELING, ZONE_ID=22 ══════════════════════════════════════════
INFO     11:41:09.367 │ OS HAZARD 1 LEVELING, ZONE_ID=22                                                              
INFO     11:41:09.370 │ <<< FLEET SET TO 4 >>>                                                                        
INFO     11:41:09.380 │ It is fleet 4 already                                                                         
──────────────────────────────────────────────── RUN STRATEGY SEARCH ─────────────────────────────────────────────────
INFO     11:41:09.385 │ RUN STRATEGY SEARCH                                                                           
INFO     11:41:09.388 │ <<< STRATEGIC SEARCH START >>>                                                                
INFO     11:41:09.391 │ Strategic search enter                                                                        
INFO     11:41:09.402 │ Click (1227,  593) @ STRATEGIC_SEARCH_MAP_OPTION_OFF                                          
INFO     11:41:09.666 │ Strategic search set tab                                                                      
INFO     11:41:09.669 │ Strategic search set option                                                                   
INFO     11:41:09.673 │ [zone_mode] repeat                                                                            
INFO     11:41:09.675 │ [encounter_merchant] stop                                                                     
INFO     11:41:09.678 │ STRATEGIC_SEARCH_SCROLL_AREA set to 0.5                                                       
INFO     11:41:09.681 │ [STRATEGIC_SEARCH_SCROLL_AREA] 0.00 (34.0-34.5)/(193-69)                                      
INFO     11:41:09.685 │ Swipe ( 906,  310) -> ( 905,  379)                                                            
INFO     11:41:09.963 │ [STRATEGIC_SEARCH_SCROLL_AREA] 0.64 (118.41176470588235-17.0)/(193-34)                        
INFO     11:41:10.284 │ [STRATEGIC_SEARCH_SCROLL_AREA] 0.56 (104.0-34.5)/(193-69)                                     
INFO     11:41:10.293 │ [encounter_device] stop                                                                       
INFO     11:41:10.297 │ STRATEGIC_SEARCH_SCROLL_AREA set to 1.0                                                       
INFO     11:41:10.301 │ [STRATEGIC_SEARCH_SCROLL_AREA] 0.56 (104.0-34.5)/(193-69)                                     
INFO     11:41:10.305 │ Swipe ( 902,  382) -> ( 905,  508)                                                            
INFO     11:41:10.616 │ [STRATEGIC_SEARCH_SCROLL_AREA] 0.00 (nan-0.0)/(193-0)                                         
INFO     11:41:10.913 │ [STRATEGIC_SEARCH_SCROLL_AREA] 1.00 (157.5-35.0)/(193-70)                                     
INFO     11:41:10.918 │ [auto_submit] on                                                                              
INFO     11:41:10.921 │ Strategic search confirm                                                                      
INFO     11:41:10.927 │ Click ( 792,  523) @ POPUP_CONFIRM_STRATEGIC_SEARCH                                           
─────────────────────────────────────────────────── OS AUTO SEARCH ───────────────────────────────────────────────────
INFO     11:41:12.890 │ OS AUTO SEARCH                                                                                
INFO     11:41:21.440 │ [Loading] 5%                                                                                  
INFO     11:41:21.443 │ [battle_count] 1                                                                              
INFO     11:41:21.458 │ Pending tasks: ['OpsiHazard1Leveling']                                                        
INFO     11:41:21.462 │ [Task] OpsiHazard1Leveling (Enable, 2026-06-16 00:31:56)                                      
INFO     11:41:21.465 │ Continue task `OpsiHazard1Leveling (Enable, 2026-06-16 00:31:56)`                             
INFO     11:41:21.468 │ Auto search combat loading                                                                    
INFO     11:41:21.471 │ Screenshot interval set to 1.0s                                                               
INFO     11:41:30.436 │ [BattleUI] PAUSE                                                                              
INFO     11:41:30.439 │ Auto Search combat execute                                                                    
INFO     11:41:36.466 │ Submarine call timer reached                                                                  
INFO     11:41:40.743 │ Screenshot interval set to 0.3s                                                               
INFO     11:41:40.747 │ Combat end.                                                                                   
INFO     11:41:45.618 │ [Loading] 5%                                                                                  
INFO     11:41:45.621 │ [battle_count] 2                                                                              
INFO     11:41:45.634 │ Pending tasks: ['OpsiHazard1Leveling']                                                        
INFO     11:41:45.637 │ [Task] OpsiHazard1Leveling (Enable, 2026-06-16 00:31:56)                                      
INFO     11:41:45.641 │ Continue task `OpsiHazard1Leveling (Enable, 2026-06-16 00:31:56)`                             
INFO     11:41:45.644 │ Auto search combat loading                                                                    
INFO     11:41:45.647 │ Screenshot interval set to 1.0s                                                               
INFO     11:41:54.616 │ [BattleUI] PAUSE                                                                              
INFO     11:41:54.622 │ Auto Search combat execute                                                                    
INFO     11:41:59.633 │ Submarine call timer reached                                                                  
INFO     11:42:03.769 │ Screenshot interval set to 0.3s                                                               
INFO     11:42:03.773 │ Combat end.                                                                                   
INFO     11:42:12.725 │ [Loading] 5%                                                                                  
INFO     11:42:12.728 │ [battle_count] 3                                                                              
INFO     11:42:12.731 │ [CL1 time cost] 51.28s/round                                                                  
INFO     11:42:12.743 │ Pending tasks: ['OpsiHazard1Leveling']                                                        
INFO     11:42:12.746 │ [Task] OpsiHazard1Leveling (Enable, 2026-06-16 00:31:56)                                      
INFO     11:42:12.749 │ Continue task `OpsiHazard1Leveling (Enable, 2026-06-16 00:31:56)`                             
INFO     11:42:12.752 │ Auto search combat loading                                                                    
INFO     11:42:12.755 │ Screenshot interval set to 1.0s                                                               
INFO     11:42:21.727 │ [BattleUI] PAUSE                                                                              
INFO     11:42:21.730 │ Auto Search combat execute                                                                    
INFO     11:42:27.725 │ Submarine call timer reached                                                                  
INFO     11:42:31.921 │ Screenshot interval set to 0.3s                                                               
INFO     11:42:31.924 │ Combat end.                                                                                   
INFO     11:42:41.098 │ [Loading] 6%                                                                                  
INFO     11:42:41.101 │ [battle_count] 4                                                                              
INFO     11:42:41.115 │ Pending tasks: ['OpsiHazard1Leveling']                                                        
INFO     11:42:41.119 │ [Task] OpsiHazard1Leveling (Enable, 2026-06-16 00:31:56)                                      
INFO     11:42:41.122 │ Continue task `OpsiHazard1Leveling (Enable, 2026-06-16 00:31:56)`                             
INFO     11:42:41.125 │ Auto search combat loading                                                                    
INFO     11:42:41.128 │ Screenshot interval set to 1.0s                                                               
INFO     11:42:49.093 │ [BattleUI] PAUSE                                                                              
INFO     11:42:49.097 │ Auto Search combat execute                                                                    
INFO     11:42:55.098 │ Submarine call timer reached                                                                  
INFO     11:42:56.103 │ Click (1190,  644) @ EXP_INFO_C                                                               
INFO     11:42:59.110 │ Screenshot interval set to 0.3s                                                               
INFO     11:42:59.114 │ Combat end.                                                                                   
INFO     11:42:59.120 │ [HP]  98%  74%  98%  98%  45%  75%                                                            
INFO     11:42:59.126 │ [Repair icon] [False, False, False, True, False, False]                                       
INFO     11:42:59.129 │ [HP]  98%  74%  98%   0%  45%  75%                                                            
WARNING  11:42:59.132 │ Fleet died, stop auto search                                                                  
INFO     11:42:59.409 │ Click (1251,  538) @ AUTO_SEARCH_OS_MAP_OPTION_ON                                             
INFO     11:43:03.159 │ Click (1234,  540) @ AUTO_SEARCH_OS_MAP_OPTION_ON                                             
WARNING  11:43:04.265 │ Fleet died confirm                                                                            
INFO     11:43:04.271 │ [HP]  98%  74%  98%  98%  45%  75%                                                            
INFO     11:43:04.277 │ [Repair icon] [False, False, False, True, False, False]                                       
INFO     11:43:04.281 │ [HP]  98%  74%  98%   0%  45%  75%                                                            
─────────────────────────────────────────────────── CLEAR QUESTION ───────────────────────────────────────────────────
INFO     11:43:04.286 │ CLEAR QUESTION                                                                                
INFO     11:43:04.330 │             -- -- --                                                                          
INFO     11:43:04.333 │       -- -- -- -- -- -- --                                                                    
INFO     11:43:04.335 │    -- -- -- -- -- -- -- -- --                                                                 
INFO     11:43:04.338 │    -- -- -- -- -- -- -- -- --                                                                 
INFO     11:43:04.340 │ -- -- -- -- -- -- -- -- -- -- RE                                                              
INFO     11:43:04.343 │ -- -- -- -- -- FL -- -- -- EN --                                                              
INFO     11:43:04.346 │ -- -- -- -- -- -- -- -- -- -- --                                                              
INFO     11:43:04.348 │    -- -- -- -- -- -- -- -- --                                                                 
INFO     11:43:04.351 │    -- -- -- -- -- -- -- -- --                                                                 
INFO     11:43:04.353 │       -- -- -- -- -- -- --                                                                    
INFO     11:43:04.356 │             -- -- --                                                                          
INFO     11:43:04.358 │ No question mark above current fleet on this radar                                            
INFO     11:43:04.360 │ <<< FLEET SET TO 4 >>>                                                                        
INFO     11:43:04.368 │ It is fleet 4 already                                                                         
───────────────────────────────────────────────── MAP RESCAN CURRENT ─────────────────────────────────────────────────
INFO     11:43:04.373 │ MAP RESCAN CURRENT                                                                            
INFO     11:43:04.377 │ Load map_data, has_loop=False, use_loop=False                                                 
INFO     11:43:04.380 │ Load spawn_data, has_loop=False, use_loop=False                                               
INFO     11:43:04.383 │ grid_connection: wall=False, portal=False                                                     
INFO     11:43:04.389 │ Load mechanism, land_base=False, maze=False, fortress=False, bouncing_enemy=False             
INFO     11:43:04.532 │            tile_center: 0.942 (good match)                                                    
INFO     11:43:04.553 │ 0.117s      edge_lines: 0 hori, 1 vert                                                        
INFO     11:43:04.557 │ Edges: /     homo_loca: ( 53,  58)                                                            
INFO     11:43:04.567 │            center_loca: (0, 4)                                                                
INFO     11:43:04.571 │ [view.center_offset] [0.50890036 0.50640643]                                                  
INFO     11:43:04.575 │       camera_corrected: G11 -> A11                                                            
INFO     11:43:04.578 │                 Camera: A11                                                                   
INFO     11:43:04.639 │ 0.058s         predict: 51                                                                    
INFO     11:43:04.643 │ -- -- -- -- -- -- --                                                                          
INFO     11:43:04.646 │ -- -- -- -- -- -- --                                                                          
INFO     11:43:04.649 │ -- -- -- -- -- -- --                                                                          
INFO     11:43:04.651 │ -- -- -- -- -- -- ..                                                                          
INFO     11:43:04.654 │ FL -- -- -- -- -- ..                                                                          
INFO     11:43:04.658 │ -- -- -- -- -- -- ..                                                                          
INFO     11:43:04.661 │ -- -- -- -- -- -- ..                                                                          
INFO     11:43:04.663 │ FL -- -- -- -- -- ..                                                                          
INFO     11:43:04.666 │ No map event                                                                                  
────────────────────────────────────────────────── MAP RESCAN FULL ───────────────────────────────────────────────────
INFO     11:43:04.670 │ MAP RESCAN FULL                                                                               
INFO     11:43:04.673 │ <<< MAP INIT >>>                                                                              
INFO     11:43:04.678 │ Load map_data, has_loop=False, use_loop=False                                                 
INFO     11:43:04.681 │ Load spawn_data, has_loop=False, use_loop=False                                               
INFO     11:43:04.684 │ grid_connection: wall=False, portal=False                                                     
INFO     11:43:04.690 │ Load mechanism, land_base=False, maze=False, fortress=False, bouncing_enemy=False             
INFO     11:43:04.818 │            tile_center: 0.942 (good match)                                                    
INFO     11:43:04.839 │ 0.092s      edge_lines: 0 hori, 1 vert                                                        
INFO     11:43:04.843 │ Edges: /     homo_loca: ( 53,  58)                                                            
INFO     11:43:04.854 │            center_loca: (0, 4)                                                                
INFO     11:43:04.858 │ [view.center_offset] [0.50890036 0.50640643]                                                  
INFO     11:43:04.861 │                 Camera: A11                                                                   
INFO     11:43:04.925 │ 0.061s         predict: 51                                                                    
INFO     11:43:04.928 │ -- -- -- -- -- -- --                                                                          
INFO     11:43:04.931 │ -- -- -- -- -- -- --                                                                          
INFO     11:43:04.934 │ -- -- -- -- -- -- --                                                                          
INFO     11:43:04.937 │ -- -- -- -- -- -- ..                                                                          
INFO     11:43:04.939 │ -- -- -- -- -- -- ..                                                                          
INFO     11:43:04.941 │ FL -- -- -- -- -- ..                                                                          
INFO     11:43:04.944 │ -- -- -- -- -- -- ..                                                                          
INFO     11:43:04.947 │ FL -- -- -- -- -- ..                                                                          
INFO     11:43:04.952 │ [HP]  98%  74%  98%  98%  45%  75%                                                            
INFO     11:43:04.959 │ [Repair icon] [False, False, False, True, False, False]                                       
INFO     11:43:04.963 │ [HP]  98%  74%  98%   0%  45%  75%                                                            
INFO     11:43:04.966 │ Ensure edge in sight.                                                                         
INFO     11:43:04.969 │ Map swipe: (0, 5)                                                                             
INFO     11:43:04.973 │ Swipe ( 609,  563) -> ( 610,  169)                                                            
INFO     11:43:05.402 │ [prev.center_offset] [0.50890036 0.50640643]                                                  
INFO     11:43:05.528 │            tile_center: 0.939 (good match)                                                    
INFO     11:43:05.550 │ 0.093s      edge_lines: 0 hori, 1 vert                                                        
INFO     11:43:05.554 │ Edges: /     homo_loca: ( 25,  58)                                                            
INFO     11:43:05.563 │            center_loca: (0, 4)                                                                
INFO     11:43:05.567 │ [view.center_offset] [0.70890024 0.50640643]                                                  
INFO     11:43:05.571 │                 Camera: A16                                                                   
INFO     11:43:05.574 │                 Camera: A16                                                                   
INFO     11:43:05.633 │ 0.056s         predict: 52                                                                    
INFO     11:43:05.636 │ -- -- -- -- -- -- --                                                                          
INFO     11:43:05.639 │ -- -- -- -- -- -- --                                                                          
INFO     11:43:05.642 │ -- -- -- -- -- -- --                                                                          
INFO     11:43:05.645 │ -- -- -- -- -- -- --                                                                          
INFO     11:43:05.648 │ FL -- -- -- -- -- ..                                                                          
INFO     11:43:05.650 │ -- FL -- -- -- -- ..                                                                          
INFO     11:43:05.653 │ -- -- -- -- -- -- ..                                                                          
INFO     11:43:05.655 │ -- -- -- -- -- -- ..                                                                          
INFO     11:43:05.658 │ Map swipe: (0, 5)                                                                             
INFO     11:43:05.662 │ Swipe ( 631,  574) -> ( 654,  180)                                                            
INFO     11:43:06.103 │ [prev.center_offset] [0.70890024 0.50640643]                                                  
INFO     11:43:06.239 │            tile_center: 0.942 (good match)                                                    
INFO     11:43:06.261 │ 0.099s      edge_lines: 0 hori, 1 vert                                                        
INFO     11:43:06.265 │ Edges: /     homo_loca: ( 52,  58)                                                            
INFO     11:43:06.278 │            center_loca: (1, 4)                                                                
INFO     11:43:06.283 │ [view.center_offset] [0.51604315 0.50640643]                                                  
INFO     11:43:06.286 │                 Camera: A21                                                                   
INFO     11:43:06.290 │       camera_corrected: A21 -> B21                                                            
INFO     11:43:06.293 │                 Camera: B21                                                                   
INFO     11:43:06.364 │ 0.068s         predict: 59                                                                    
INFO     11:43:06.368 │ -- -- -- -- -- -- -- --                                                                       
INFO     11:43:06.371 │ -- -- -- -- -- -- -- --                                                                       
INFO     11:43:06.374 │ -- -- -- -- -- -- -- --                                                                       
INFO     11:43:06.378 │ -- -- -- -- -- -- -- ..                                                                       
INFO     11:43:06.381 │ -- -- -- -- -- -- -- ..                                                                       
INFO     11:43:06.384 │ -- -- -- -- -- -- -- ..                                                                       
INFO     11:43:06.387 │ -- -- -- -- -- -- -- ..                                                                       
INFO     11:43:06.389 │ -- -- -- -- -- -- -- ..                                                                       
INFO     11:43:06.392 │ Map swipe: (0, 5)                                                                             
INFO     11:43:06.397 │ Swipe ( 640,  562) -> ( 642,  168)                                                            
INFO     11:43:06.835 │ [prev.center_offset] [0.51604315 0.50640643]                                                  
WARNING  11:43:06.928 │ Image to detect is not in_map                                                                 
WARNING  11:43:06.932 │ Perspective error caused by info bar                                                          
WARNING  11:43:09.006 │ Image to detect is not in_map                                                                 
INFO     11:43:09.061 │ newCommandTimeout updated to 168h0m0s                                                         
INFO     11:43:09.065 │ [u2.Device] Device(atx_agent_url=http://127.0.0.1:34055)                                      
INFO     11:43:09.087 │ [Package_name] com.bilibili.azurlane                                                          
WARNING  11:43:09.436 │ Image to detect is not in_map                                                                 
INFO     11:43:09.472 │ [Package_name] com.bilibili.azurlane                                                          
WARNING  11:43:09.588 │ Image to detect is not in_map                                                                 
INFO     11:43:09.623 │ [Package_name] com.bilibili.azurlane                                                          
WARNING  11:43:09.889 │ Image to detect is not in_map                                                                 
INFO     11:43:09.926 │ [Package_name] com.bilibili.azurlane                                                          
WARNING  11:43:10.242 │ Image to detect is not in_map                                                                 
INFO     11:43:10.286 │ [Package_name] com.bilibili.azurlane                                                          
WARNING  11:43:10.506 │ Image to detect is not in_map                                                                 
INFO     11:43:10.544 │ [Package_name] com.bilibili.azurlane                                                          
WARNING  11:43:10.788 │ Image to detect is not in_map                                                                 
INFO     11:43:10.826 │ [Package_name] com.bilibili.azurlane                                                          
WARNING  11:43:11.088 │ Image to detect is not in_map                                                                 
INFO     11:43:11.124 │ [Package_name] com.bilibili.azurlane                                                          
WARNING  11:43:11.386 │ Image to detect is not in_map                                                                 
INFO     11:43:11.424 │ [Package_name] com.bilibili.azurlane                                                          
WARNING  11:43:11.690 │ Image to detect is not in_map                                                                 
INFO     11:43:11.735 │ [Package_name] com.bilibili.azurlane                                                          
WARNING  11:43:11.992 │ Image to detect is not in_map                                                                 
INFO     11:43:12.031 │ [Package_name] com.bilibili.azurlane                                                          
ERROR    11:43:12.034 │ MapDetectionError: Image to detect is not in_map                                              
         ╭──────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────╮
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/alas.py:69 in run                                                           │
         │                                                                                                           │
         │    67 │   │   │   if not skip_first_screenshot:                                                           │
         │    68 │   │   │   │   self.device.screenshot()                                                            │
         │ ❱  69 │   │   │   self.__getattribute__(command)()                                                        │
         │    70 │   │   │   return True                                                                             │
         │    71 │   │   except TaskEnd:                                                                             │
         │                                                                                                           │
         │ ╭────────────────────────────────── locals ──────────────────────────────────╮                            │
         │ │               command = 'opsi_hazard1_leveling'                            │                            │
         │ │                     e = MapDetectionError('Image to detect is not in_map') │                            │
         │ │                  self = <alas.AzurLaneAutoScript object at 0x7f182c792750> │                            │
         │ │ skip_first_screenshot = False                                              │                            │
         │ ╰────────────────────────────────────────────────────────────────────────────╯                            │
         │ /home/Alas/AzurLaneAutoScript/alas.py:343 in opsi_hazard1_leveling                                        │
         │                                                                                                           │
         │   341 │   def opsi_hazard1_leveling(self):                                                                │
         │   342 │   │   from module.campaign.os_run import OSCampaignRun                                            │
         │ ❱ 343 │   │   OSCampaignRun(config=self.config, device=self.device).opsi_hazard1_leveling()               │
         │   344 │                                                                                                   │
         │   345 │   def opsi_cross_month(self):                                                                     │
         │                                                                                                           │
         │ ╭────────────────────────────── locals ──────────────────────────────╮                                    │
         │ │ OSCampaignRun = <class 'module.campaign.os_run.OSCampaignRun'>     │                                    │
         │ │          self = <alas.AzurLaneAutoScript object at 0x7f182c792750> │                                    │
         │ ╰────────────────────────────────────────────────────────────────────╯                                    │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/campaign/os_run.py:62 in opsi_hazard1_leveling                       │
         │                                                                                                           │
         │    60 │   │   try:                                                                                        │
         │    61 │   │   │   campaign = self.load_campaign()                                                         │
         │ ❱  62 │   │   │   campaign.os_hazard1_leveling()                                                          │
         │    63 │   │   except ActionPointLimit:                                                                    │
         │    64 │   │   │   self.config.task_delay(server_update=True)                                              │
         │                                                                                                           │
         │ ╭──────────────────────────────────── locals ────────────────────────────────────╮                        │
         │ │ campaign = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │                        │
         │ │     self = <module.campaign.os_run.OSCampaignRun object at 0x7f179112a150>     │                        │
         │ ╰────────────────────────────────────────────────────────────────────────────────╯                        │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/os/tasks/hazard_leveling.py:56 in os_hazard1_leveling                │
         │                                                                                                           │
         │   54 │   │   │   │   self.globe_goto(self.name_to_zone(zone), types='SAFE', refresh=True)                 │
         │   55 │   │   │   self.fleet_set(self.config.OpsiFleet_Fleet)                                              │
         │ ❱ 56 │   │   │   self.run_strategic_search()                                                              │
         │   57 │   │   │                                                                                            │
         │   58 │   │   │   self.handle_after_auto_search()                                                          │
         │                                                                                                           │
         │ ╭─────────────────────────────────────── locals ────────────────────────────────────────╮                 │
         │ │ keep_current_ap = True                                                                │                 │
         │ │            self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │                 │
         │ │            zone = 22                                                                  │                 │
         │ ╰───────────────────────────────────────────────────────────────────────────────────────╯                 │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/os/map.py:777 in run_strategic_search                                │
         │                                                                                                           │
         │   775 │   │   self._solved_fleet_mechanism = False                                                        │
         │   776 │   │   self.clear_question()                                                                       │
         │ ❱ 777 │   │   self.map_rescan()                                                                           │
         │   778 │                                                                                                   │
         │   779 │   def map_rescan_current(self, drop=None):                                                        │
         │                                                                                                           │
         │ ╭────────────────────────────────── locals ──────────────────────────────────╮                            │
         │ │ self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │                            │
         │ ╰────────────────────────────────────────────────────────────────────────────╯                            │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/os/map.py:932 in map_rescan                                          │
         │                                                                                                           │
         │   930 │   │   │   │   self.fleet_set(self.config.OpsiFleet_Fleet)                                         │
         │   931 │   │   │   │   return False                                                                        │
         │ ❱ 932 │   │   │   result = self.map_rescan_once(rescan_mode=rescan_mode, drop=drop)                       │
         │   933 │   │   │   if not result:                                                                          │
         │   934 │   │   │   │   logger.attr('Solved_map_event', self._solved_map_event)                             │
         │                                                                                                           │
         │ ╭───────────────────────────────────── locals ──────────────────────────────────────╮                     │
         │ │           _ = 0                                                                   │                     │
         │ │        drop = None                                                                │                     │
         │ │ rescan_mode = 'full'                                                              │                     │
         │ │        self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │                     │
         │ ╰───────────────────────────────────────────────────────────────────────────────────╯                     │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/os/map.py:899 in map_rescan_once                                     │
         │                                                                                                           │
         │   897 │   │   if rescan_mode == 'full':                                                                   │
         │   898 │   │   │   logger.hr('Map rescan full', level=2)                                                   │
         │ ❱ 899 │   │   │   self.map_init(map_=None)                                                                │
         │   900 │   │   │   queue = self.map.camera_data                                                            │
         │   901 │   │   │   while len(queue) > 0:                                                                   │
         │                                                                                                           │
         │ ╭───────────────────────────────────── locals ──────────────────────────────────────╮                     │
         │ │        drop = None                                                                │                     │
         │ │ rescan_mode = 'full'                                                              │                     │
         │ │      result = False                                                               │                     │
         │ │        self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │                     │
         │ ╰───────────────────────────────────────────────────────────────────────────────────╯                     │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/map/fleet.py:849 in map_init                                         │
         │                                                                                                           │
         │    847 │   │   logger.hr('Map init')                                                                      │
         │    848 │   │   self.map_data_init(map_)                                                                   │
         │ ❱  849 │   │   self.map_control_init()                                                                    │
         │    850 │                                                                                                  │
         │    851 │   def map_data_init(self, map_):                                                                 │
         │                                                                                                           │
         │ ╭────────────────────────────────── locals ──────────────────────────────────╮                            │
         │ │ map_ = None                                                                │                            │
         │ │ self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │                            │
         │ ╰────────────────────────────────────────────────────────────────────────────╯                            │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/os/fleet.py:100 in map_control_init                                  │
         │                                                                                                           │
         │    98 │   │   self.lv_reset()                                                                             │
         │    99 │   │   self.lv_get()                                                                               │
         │ ❱ 100 │   │   self.ensure_edge_insight(preset=self.map.in_map_swipe_preset_data,                          │
         │       swipe_limit=(6, 5))                                                                                 │
         │   101 │   │   # self.full_scan(must_scan=self.map.camera_data_spawn_point)                                │
         │   102 │   │   # self.find_current_fleet()                                                                 │
         │                                                                                                           │
         │ ╭────────────────────────────────── locals ──────────────────────────────────╮                            │
         │ │ self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │                            │
         │ ╰────────────────────────────────────────────────────────────────────────────╯                            │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/map/camera.py:370 in ensure_edge_insight                             │
         │                                                                                                           │
         │   368 │   │   │   if len(record) > 0:                                                                     │
         │   369 │   │   │   │   # Swipe even if two edges insight, this will avoid some embarrassing                │
         │       camera position.                                                                                    │
         │ ❱ 370 │   │   │   │   self.map_swipe((x, y))                                                              │
         │   371 │   │   │                                                                                           │
         │   372 │   │   │   record.append((x, y))                                                                   │
         │                                                                                                           │
         │ ╭──────────────────────────────────────── locals ─────────────────────────────────────────╮               │
         │ │            preset = None                                                                │               │
         │ │            record = [(0, 5), (0, 5), (0, 5)]                                            │               │
         │ │           reverse = False                                                               │               │
         │ │              self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │               │
         │ │ skip_first_update = True                                                                │               │
         │ │       swipe_limit = (6, 5)                                                              │               │
         │ │                 x = 0                                                                   │               │
         │ │           x_swipe = 6                                                                   │               │
         │ │                 y = 5                                                                   │               │
         │ │           y_swipe = 5                                                                   │               │
         │ ╰─────────────────────────────────────────────────────────────────────────────────────────╯               │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/map/camera.py:85 in map_swipe                                        │
         │                                                                                                           │
         │    83 │   │   vector = np.array(vector)                                                                   │
         │    84 │   │   vector = np.array([0.5, 0.5]) - self.view.center_offset + vector                            │
         │ ❱  85 │   │   return self._map_swipe(vector)                                                              │
         │    86 │                                                                                                   │
         │    87 │   def focus_to_grid_center(self, tolerance=None):                                                 │
         │                                                                                                           │
         │ ╭─────────────────────────────────── locals ───────────────────────────────────╮                          │
         │ │   self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │                          │
         │ │ vector = array([-0.01604315,  4.99359357])                                   │                          │
         │ ╰──────────────────────────────────────────────────────────────────────────────╯                          │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/os/camera.py:20 in _map_swipe                                        │
         │                                                                                                           │
         │    18 │                                                                                                   │
         │    19 │   def _map_swipe(self, vector, box=(239, 128, 993, 628)):                                         │
         │ ❱  20 │   │   return super()._map_swipe(vector, box=box)                                                  │
         │    21 │                                                                                                   │
         │    22 │   def _view_init(self):                                                                           │
         │                                                                                                           │
         │ ╭──────────────────────────────────── locals ─────────────────────────────────────╮                       │
         │ │ __class__ = <class 'module.os.camera.OSCamera'>                                 │                       │
         │ │       box = (239, 128, 993, 628)                                                │                       │
         │ │      self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │                       │
         │ │    vector = array([-0.01604315,  4.99359357])                                   │                       │
         │ ╰─────────────────────────────────────────────────────────────────────────────────╯                       │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/map/camera.py:62 in _map_swipe                                       │
         │                                                                                                           │
         │    60 │   │   │   # Donno why initial commit have a sleep here                                            │
         │    61 │   │   │   # self.device.sleep(0.3)                                                                │
         │ ❱  62 │   │   │   self.update(wait_swipe=True)                                                            │
         │    63 │   │   │   return True                                                                             │
         │    64 │   │   else:                                                                                       │
         │                                                                                                           │
         │ ╭──────────────────────────────────── locals ─────────────────────────────────────╮                       │
         │ │ blacklist = []                                                                  │                       │
         │ │       box = (239, 128, 993, 628)                                                │                       │
         │ │  distance = array([111.31900453,  78.95131112])                                 │                       │
         │ │      name = 'MAP_SWIPE_0_5'                                                     │                       │
         │ │      self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │                       │
         │ │    vector = array([   1.78590734, -394.25075988])                               │                       │
         │ │ whitelist = []                                                                  │                       │
         │ ╰─────────────────────────────────────────────────────────────────────────────────╯                       │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/map/camera.py:297 in update                                          │
         │                                                                                                           │
         │   295 │   │   │   # _update_view()                                                                        │
         │   296 │   │   │   try:                                                                                    │
         │ ❱ 297 │   │   │   │   success = self._update_view()                                                       │
         │   298 │   │   │   │   if not success:                                                                     │
         │   299 │   │   │   │   │   continue                                                                        │
         │                                                                                                           │
         │ ╭───────────────────────────────────────── locals ─────────────────────────────────────────╮              │
         │ │        allow_error = False                                                               │              │
         │ │             camera = True                                                                │              │
         │ │      error_confirm = Timer(limit=6.122/5, count=11/10)                                   │              │
         │ │     is_grid_center = <function Camera.update.<locals>.is_grid_center at 0x7f17754cb950>  │              │
         │ │      is_still_prev = <function Camera.update.<locals>.is_still_prev at 0x7f17754cb9e0>   │              │
         │ │ prev_center_offset = array([0.51604315, 0.50640643])                                     │              │
         │ │               self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │              │
         │ │            success = False                                                               │              │
         │ │ swipe_wait_timeout = Timer(limit=6.122/0.35, count=12/1)                                 │              │
         │ │             swiped = True                                                                │              │
         │ │         wait_swipe = True                                                                │              │
         │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯              │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/map/camera.py:206 in _update_view                                    │
         │                                                                                                           │
         │   204 │   │   │   │   raise GameNotRunningError                                                           │
         │   205 │   │   │   else:                                                                                   │
         │ ❱ 206 │   │   │   │   raise e                                                                             │
         │   207 │   │                                                                                               │
         │   208 │   │   return True                                                                                 │
         │                                                                                                           │
         │ ╭────────────────────────────────── locals ──────────────────────────────────╮                            │
         │ │ self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │                            │
         │ ╰────────────────────────────────────────────────────────────────────────────╯                            │
         │                                                                                                           │
         │ /home/Alas/AzurLaneAutoScript/module/map/camera.py:120 in _update_view                                    │
         │                                                                                                           │
         │   118 │   │   │   │   │   and not self.is_in_strategy_air_strike():                                       │
         │   119 │   │   │   │   logger.warning('Image to detect is not in_map')                                     │
         │ ❱ 120 │   │   │   │   raise MapDetectionError('Image to detect is not in_map')                            │
         │   121 │   │   │   self.view.load(self.device.image)                                                       │
         │   122 │   │   except MapDetectionError as e:                                                              │
         │                                                                                                           │
         │ ╭────────────────────────────────── locals ──────────────────────────────────╮                            │
         │ │ self = <module.os.operation_siren.OperationSiren object at 0x7f177c463d90> │                            │
         │ ╰────────────────────────────────────────────────────────────────────────────╯                            │
         ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
         MapDetectionError: Image to detect is not in_map                                                             
WARNING  11:43:13.843 │ Saving error: ./log/error/1781667793843                                                       
INFO     11:43:14.414 │ No provider specified, skip sending

截图

Image

还有别的吗?

#2942

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions