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

无法获取信息 Message: unknown error: session deleted because of page crash from unknown error: cannot determine loading status #150

Open
almightyYantao opened this issue Jan 17, 2025 · 3 comments

Comments

@almightyYantao
Copy link

问题描述

无法获取信息
目前采用的HACS的方式进行安装的

哪个版本存在此问题?

1.6.4

您使用的是哪种安装方式?

其他环境请在附加信息说明

Home Assistant core 哪个版本,安装方式,

2024.12.5

日志中是否有任何可能对我们有用的信息?

2025-01-17 12:31:05 [INFO ] ---- 当前以Homeassistant Add-on 形式运行.
2025-01-17 12:31:05 [INFO ] ---- The current repository version is v1.6.4, and the repository address is https://github.com/ARC-MX/sgcc_electricity_new.git
2025-01-17 12:31:05 [INFO ] ---- The current date is 2025-01-17 12:31:05.
2025-01-17 12:31:06 [INFO ] ---- chromium-driver version is 131
2025-01-17 12:31:06 [INFO ] ---- The current logged-in user name is xxxx, the homeassistant address is http://192.168.200.133:8123, and the program will be executed every day at 07:00.
2025-01-17 12:31:06 [INFO ] ---- Run job now! The next run will be at 07:00 and 19:00 every day
2025-01-17 12:31:06 [INFO ] ---- patching driver executable /usr/bin/chromedriver
2025-01-17 12:31:22 [INFO ] ---- Webdriver initialized.
2025-01-17 12:31:27 [INFO ] ---- Open LOGIN_URL:https://www.95598.cn/osgweb/login.
2025-01-17 12:31:43 [INFO ] ---- find_element 'user'.
2025-01-17 12:31:58 [INFO ] ---- Click the Agree option.
2025-01-17 12:32:13 [INFO ] ---- input_elements username : xxxx
2025-01-17 12:32:14 [INFO ] ---- input_elements password : xxxxx
2025-01-17 12:32:44 [INFO ] ---- Click login button.
2025-01-17 12:32:44 [INFO ] ---- Get electricity canvas image successfully.
2025-01-17 12:32:44 [INFO ] ---- Image CaptCHA distance is 233.
2025-01-17 12:33:01 [ERROR ] ---- Webdriver quit abnormly, reason: Message: unknown error: session deleted because of page crash
from unknown error: cannot determine loading status
from tab crashed
(Session info: chrome=131.0.6778.204)
Stacktrace:
#0 0x557c3434bdbe
#1 0x557c33e6ed56
#2 0x557c33e5ac53
#3 0x557c33e59208
#4 0x557c33e596b9
#5 0x557c33e66fa0
#6 0x557c33e7af2f
#7 0x557c33e7fcfb
#8 0x557c33e59c2d
#9 0x557c33e7ab2d
#10 0x557c33efa56a
#11 0x557c33edd863
#12 0x557c33eaa517
#13 0x557c33eab2b2
#14 0x557c3431f5ba
#15 0x557c3432296e
#16 0x557c343223e8
#17 0x557c34322df5
#18 0x557c3430ff92
#19 0x557c34323161
#20 0x557c342f8e39
#21 0x557c3433bdb5
#22 0x557c3433bf9b
#23 0x557c3434af15
#24 0x7f5b9a57c1c4
. 5 retry times left.

附加信息

No response

@lujiashun1
Copy link

我的也一样

@cqu-william
Copy link

好像是国网的问题,可以手动登录网页试试

Image

@ympchuan
Copy link

ympchuan commented Jan 24, 2025

2025-01-24 07:11:23 [INFO ] ---- The current user xxxxxxxxxxxxxx data fetching failed Message: no such element: Unable to locate element: {"method":"css selector","selector":".el-input__suffix"}
(Session info: chrome=131.0.6778.204); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
#0 0x005556fc9c60
#1 0x005556b317a0
#2 0x005556b6faf0
#3 0x005556bae1ec
#4 0x005556b65ab8
#5 0x005556b66658
#6 0x005556f9d8c8
#7 0x005556fa08bc
#8 0x005556fa0470
#9 0x005556f8f130
#10 0x005556fa0efc
#11 0x005556f78c94
#12 0x005556fb98a8
#13 0x005556fb9a8c
#14 0x005556fc8db0
#15 0x007facd5ee8c
#16 0x007facdc7b18
, the next user data will be fetched.

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