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] 个人主页背景图更换功能出错 #451

Closed
2 tasks done
asd2422313947 opened this issue Aug 16, 2024 · 11 comments
Closed
2 tasks done

[BUG] 个人主页背景图更换功能出错 #451

asd2422313947 opened this issue Aug 16, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@asd2422313947
Copy link

问题描述

Traceback (most recent call last):
File "C:\hj\lib\site-packages\qasync_init_.py", line 780, in _error_handler
task.result()
File "C:\Seraphine-main\app\components\message_box.py", line 465, in __onChangeSplashes
url = await connector.getChampionSplashes(skinItem[1], False)
File "C:\Seraphine-main\app\lol\connector.py", line 116, in wrapper
raise exce
File "C:\Seraphine-main\app\lol\connector.py", line 88, in wrapper
res = await func(*args, **kwargs)
File "C:\Seraphine-main\app\lol\connector.py", line 521, in getChampionSplashes
with open(image, "wb") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'app/resource/game/splashes/1000_uncentered.jpg'

系统信息

Windows 11

运行方式

在 Python 环境中直接运行源代码

软件版本

最新源代码

客户端状态(若有)

No response

复现方法(若有)

点击任意英雄头像切换背景时,就会报错

日志文件

No response

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

No response

出现率(若有)

未进行具体的重复测试

在提交之前,请您确认

  • 我已经查看了 常见问题 FAQ,但并不能解决我的问题
  • 我已经查看了之前(包括已经关闭)的 issues,但并不能解决我的问题
@asd2422313947 asd2422313947 added the bug Something isn't working label Aug 16, 2024
@Hpero4
Copy link
Contributor

Hpero4 commented Aug 16, 2024

@asd2422313947 感谢反馈 请问必现吗?还是只出现一次?

@asd2422313947
Copy link
Author

@asd2422313947 感谢反馈 请问必现吗?还是只出现一次?

必定出现,但是有个变量就是,我用的账号是一个没有英雄的账号,尝试去设置背景图片

@Hpero4
Copy link
Contributor

Hpero4 commented Aug 16, 2024

@asd2422313947 怪事 #433 测试时也是用的新账号(未创建角色)

@asd2422313947
Copy link
Author

@asd2422313947 怪事 #433 测试时也是用的新账号(未创建角色)

我当时是想设置个名人堂阿狸的背景签名皮肤,点阿狸的头像之后是没有图片预览的,应用也不生效,然后我在想设置别的英雄背景图片,就点头像就报错了,但是点阿狸的头像不会报错

@asd2422313947
Copy link
Author

@asd2422313947 怪事 #433 测试时也是用的新账号(未创建角色)

Uploading 错误.png…

@asd2422313947
Copy link
Author

Uploading 错误.png…

@asd2422313947
Copy link
Author

感觉是请求不到图片导致的错误

@Hpero4
Copy link
Contributor

Hpero4 commented Aug 17, 2024

@asd2422313947 少了个逗号 🥹 image

@Hpero4
Copy link
Contributor

Hpero4 commented Aug 17, 2024

#450 修了

@asd2422313947
Copy link
Author

@asd2422313947 少了个逗号 🥹 image

过于离谱

@Zzaphkiel
Copy link
Owner

过于离谱

挺正常的,我代码里也写过不少 typo 😆

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

3 participants