Zzaphkiel / Seraphine

英雄联盟战绩查询工具
GNU General Public License v3.0
2.24k stars 114 forks source link

[BUG] 启动即报异常 #266

Closed mzji closed 8 months ago

mzji commented 8 months ago

问题描述

运行 Seraphine.exe 就报错 异常信息:

Traceback (most recent call last):
  File "qasync\__init__.py", line 780, in _error_handler
  File "app\view\main_window.py", line 452, in __onLolClientStarted
  File "app\view\auxiliary_interface.py", line 956, in updateCompleter
  File "app\view\auxiliary_interface.py", line 972, in validate
AttributeError: 'AutoSelectChampionCard' object has no attribute 'switchButton'

系统信息

Windows 10

运行方式

直接双击打开 exe 程序

软件版本

master (github actions build)

客户端状态(若有)

主页闲置

复现方法(若有)

直接双击运行就报错, 100% 可复现

日志文件

Seraphine_2024-03-05_ERROR.log:

2024-03-05 20:08:26,610 - [MainWindow] CRITICAL - Seraphine started, version: 0.10.3
2024-03-05 20:08:31,082 - [MainWindow] CRITICAL - Seraphine interfaces initialized
2024-03-05 20:08:31,083 - [MainWindow] CRITICAL - Seraphine listerners started
2024-03-05 20:08:31,323 - [MainWindow] CRITICAL - Seraphine initialized
2024-03-05 20:08:32,136 - [MainWindow] CRITICAL - League of Legends client started, server: WT2_NEW
2024-03-05 21:18:31,232 - [MainWindow] CRITICAL - Seraphine started, version: 0.10.3
2024-03-05 21:18:34,088 - [MainWindow] CRITICAL - Seraphine interfaces initialized
2024-03-05 21:18:34,088 - [MainWindow] CRITICAL - Seraphine listerners started
2024-03-05 21:18:34,428 - [MainWindow] CRITICAL - Seraphine initialized
2024-03-05 21:20:10,175 - [MainWindow] CRITICAL - Seraphine started, version: 0.10.3
2024-03-05 21:20:12,749 - [MainWindow] CRITICAL - Seraphine interfaces initialized
2024-03-05 21:20:12,749 - [MainWindow] CRITICAL - Seraphine listerners started
2024-03-05 21:20:12,922 - [MainWindow] CRITICAL - Seraphine initialized
2024-03-05 21:23:19,890 - [MainWindow] CRITICAL - Seraphine started, version: 0.10.3
2024-03-05 21:23:21,731 - [MainWindow] CRITICAL - Seraphine interfaces initialized
2024-03-05 21:23:21,732 - [MainWindow] CRITICAL - Seraphine listerners started
2024-03-05 21:23:21,871 - [MainWindow] CRITICAL - Seraphine initialized

您进行游戏的服务器(若有)

德玛西亚

出现率(若有)

每次这么做都必定会出现

在提交之前,请您确认

Zzaphkiel commented 8 months ago

变量名忘改了 😨,刚刚在 04d8565 修复了该问题,感谢!