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

[BUG] 多服切换导致程序报错 #337

Closed
2 tasks done
yyd003 opened this issue Apr 19, 2024 · 6 comments
Closed
2 tasks done

[BUG] 多服切换导致程序报错 #337

yyd003 opened this issue Apr 19, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@yyd003
Copy link

yyd003 commented Apr 19, 2024

问题描述

我平常同时玩台服和国服,更改链接的客户端到国服后,在生涯tab还是显示#TW2,导致查询战绩时找不到对局报错并退出
image

系统信息

Windows 11

运行方式

直接双击打开 exe 程序

软件版本

v0.11.1

客户端状态(若有)

大厅

复现方法(若有)

问题描述已提及

日志文件

Traceback (most recent call last):
File "qasync_init_.py", line 780, in _error_handler
File "app\view\main_window.py", line 802, in __onCareerGameClicked
File "app\view\search_interface.py", line 1136, in updateGameDetailView
AttributeError: 'SearchInterface' object has no attribute 'puuid'

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

No response

出现率(若有)

每次这么做都必定会出现

在提交之前,请您确认

  • 我已经查看了 常见问题 FAQ,但并不能解决我的问题
  • 我已经查看了之前(包括已经关闭)的 issues,但并不能解决我的问题
@yyd003 yyd003 added the bug Something isn't working label Apr 19, 2024
Hpero4 added a commit to Hpero4/Seraphine that referenced this issue Apr 19, 2024
2. 修改了部分LoadGamesTask的释放逻辑, 使其能够正确终止 (修复 Zzaphkiel#337)
PS : 其实搜索逻辑已经在目前代码中得到了优化, 几乎不存在__onLolClientEnded之后__onLolClientStarted仍存在loadGamesTask将数据刷到Interface上的情况了
Zzaphkiel added a commit that referenced this issue Apr 20, 2024
BUG  FIX : 修复自动ban英雄报错, 修复 #337, 修复 #286
@Zzaphkiel
Copy link
Owner

感谢反馈。

请问可以提供一下具体的复现过程吗?(指从打开 Seraphine 开始到报错中间的全过程)

@yyd003
Copy link
Author

yyd003 commented Apr 21, 2024

打开 Seraphine-打开台服lol-打开国服lol-启动页tab更改链接的客户端到国服-生涯tab点击任一最近战绩-弹窗程序出现异常,应该是切换国服了,查询战绩时保留了#TW2后缀,查询为空导致的

@Zzaphkiel
Copy link
Owner

打开 Seraphine-打开台服lol-打开国服lol-启动页tab更改链接的客户端到国服-生涯tab点击任一最近战绩-弹窗程序出现异常,应该是切换国服了,查询战绩时保留了#TW2后缀,查询为空导致的

这样应该最多是提示一下搜不到人呀,应该不会报错的。

方便的话可以在设置中调整日志等级为 debug,复现该问题并提供一下日志文件吗?

(因其中可能包含账号用户名等敏感信息,可以考虑通过邮件发送给 seraphine.feedback@outlook.com

@yyd003
Copy link
Author

yyd003 commented Apr 21, 2024

@Zzaphkiel
Copy link
Owner

v0.12.0 尝试修复了该问题,试一下吧 😋

@yyd003
Copy link
Author

yyd003 commented May 6, 2024

Nice! Thanks for your new release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants