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

获取背景图片时报错 #49

Closed
WuSheng125 opened this issue Aug 28, 2024 · 4 comments
Closed

获取背景图片时报错 #49

WuSheng125 opened this issue Aug 28, 2024 · 4 comments

Comments

@WuSheng125
Copy link

日志如下:
QQ20240828-225255
相关配置文件:
’‘’
PS_COMMAND=["运行状态", "status"]
PS_ONLY_SU=true
PS_REPLY_TARGET=false
PS_DISCONNECT_RESET_COUNTER=false
PS_DEFAULT_COMPONENTS=["header", "cpu_mem", "disk", "network", "footer"]
PS_BG_PROVIDER=loli
‘’‘
相关软件版本:
NoneBot v2.3.3
PicStatus v2.1.1
Python 3.9
Debian 11

@lgc2333
Copy link
Member

lgc2333 commented Aug 28, 2024

复现过,请问是否为刚启动成功就马上触发指令时出现的

@WuSheng125
Copy link
Author

是的

@lgc2333
Copy link
Member

lgc2333 commented Aug 28, 2024

了解了,初步推断此错误是driver.on_startup时使用的event loop与处理消息时不同

实际可能是 preloader 在 init 时的 signal 的 event loop 不对

@lgc2333
Copy link
Member

lgc2333 commented Aug 28, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants