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

【错误回报】频繁出现截图成功但是推送的消息中却频繁提示截图异常:截图失败,配置文件里面设置的60s报错却是30s超时 #402

Closed
SunshineboyZj opened this issue Jun 29, 2023 · 5 comments

Comments

@SunshineboyZj
Copy link
Contributor

SunshineboyZj commented Jun 29, 2023

运行环境

Windows Server 2016

HarukaBot 版本

v1.6.0post4

go-cqhttp 版本

v1.1.0

错误描述

经常出现截图成功但是推送的消息中却频繁提示截图异常:截图失败
配置文件里面设置的60s报错却是30s超时,可以问问这是怎么回事吗
QQ图片20230630075726

报错日志(如果有)

063008034352_01

@SunshineboyZj SunshineboyZj changed the title 【错误回报】 【错误回报】频繁出现截图成功但是推送的消息中却频繁提示截图异常:截图失败,配置文件里面设置的60s报错却是30s超时 Jun 29, 2023
@Jerry-FaGe
Copy link

同样的问题

@boxie123
Copy link
Contributor

设置的haruka_dynamic_timeout是页面wait until networkidle的时间,你这个是加载头像超时了

可以自己改page.wait_for_selector(".dyn-header__author__face", state="visible")timeout或者用browser_context.set_default_timeout()

(但是头像为什么30秒都出不来啊)

@Jerry-FaGe
Copy link

image
我这改了60秒都不行(悲)

@djkcyl
Copy link
Collaborator

djkcyl commented Jul 3, 2023

这个是bug,遇到老版本动态页会出现的问题,正在尝试修复(x

@djkcyl
Copy link
Collaborator

djkcyl commented Jul 4, 2023

dev分支已修复

@djkcyl djkcyl closed this as completed Jul 4, 2023
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

4 participants