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

无法拉取数据 #149

Open
molicancer opened this issue Jan 17, 2025 · 14 comments
Open

无法拉取数据 #149

molicancer opened this issue Jan 17, 2025 · 14 comments

Comments

@molicancer
Copy link

问题描述

能成功登录,但是一直循环出错,定位不到页面元素,是官网那边页面调整了吗??

哪个版本存在此问题?

latest

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

Linxu Docker环境

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

2025.1.2

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

2025-01-17 09:32:29 [INFO ] ---- login successed !
2025-01-17 09:32:29 [INFO ] ---- Login successfully on https://www.95598.cn/osgweb/login
2025-01-17 09:32:44 [INFO ] ---- Try to get the userid list
2025-01-17 09:34:21 [INFO ] ---- Here are a total of 3 userids, which are ['1101081061108', '1101075838635', '1108530591000'] among which [''] will be ignored.
2025-01-17 09:35:56 [INFO ] ---- The current user 1101081061108 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 0x005581dcdc60
#1 0x0055819357a0
#2 0x005581973af0
#3 0x0055819b21ec
#4 0x005581969ab8
#5 0x00558196a658
#6 0x005581da18c8
#7 0x005581da48bc
#8 0x005581da4470
#9 0x005581d93130
#10 0x005581da4efc
#11 0x005581d7cc94
#12 0x005581dbd8a8
#13 0x005581dbda8c
#14 0x005581dccdb0
#15 0x007fbdb5ee8c
#16 0x007fbdbc7b18
, the next user data will be fetched.

附加信息

No response

@LegendLeo
Copy link

遇见了同样问题,是不是国网网站改版了?

@LegendLeo
Copy link

刚看了下项目代码和对应网站,是目标网页正在维护,晚点再看看

Image

@dldui-captain
Copy link

刚看了下项目代码和对应网站,是目标网页正在维护,晚点再看看

Image

国网又在搞什么幺蛾子?

@moshroomkkk
Copy link

我也遇到了这个问题

@zraxx
Copy link

zraxx commented Jan 19, 2025

刚看了下项目代码和对应网站,是目标网页正在维护,晚点再看看

Image

国网又在搞什么幺蛾子?

青龙版可以运行

@oopuuu
Copy link

oopuuu commented Jan 20, 2025

刚看了下项目代码和对应网站,是目标网页正在维护,晚点再看看
Image

国网又在搞什么幺蛾子?

青龙版可以运行

青龙版,是啥啊,有仓库地址吗

@Jadyhill
Copy link

Image

@zraxx
Copy link

zraxx commented Jan 20, 2025

刚看了下项目代码和对应网站,是目标网页正在维护,晚点再看看
Image

国网又在搞什么幺蛾子?

青龙版可以运行

青龙版,是啥啊,有仓库地址吗

https://github.com/x2rr/state-grid

@goxofy
Copy link

goxofy commented Jan 21, 2025

一样的问题

@chenjuefei
Copy link

chenjuefei commented Jan 22, 2025

我也是,一样的问题。这插件目前无法使用!

2025-01-22 13:34:06 [INFO ] ---- login successed !
2025-01-22 13:34:06 [INFO ] ---- Login successfully on https://www.95598.cn/osgweb/login
2025-01-22 13:34:21 [INFO ] ---- Try to get the userid list
2025-01-22 13:35:54 [INFO ] ---- Here are a total of 1 userids, which are ['3101285098557'] among which ['xxxx', 'xxxx'] will be ignored.
2025-01-22 13:37:26 [INFO ] ---- The current user 3101285098557 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 0x5625c9764dbe
#1 0x5625c928806b
#2 0x5625c92cf160
#3 0x5625c92cf241
#4 0x5625c9315634
#5 0x5625c92f6b0d
#6 0x5625c931363e
#7 0x5625c92f6863
#8 0x5625c92c3517
#9 0x5625c92c42b2
#10 0x5625c97385ba
#11 0x5625c973b96e
#12 0x5625c973b3e8
#13 0x5625c973bdf5
#14 0x5625c9728f92
#15 0x5625c973c161
#16 0x5625c9711e39
#17 0x5625c9754db5
#18 0x5625c9754f9b
#19 0x5625c9763f15
#20 0x7f43e2a3b1c4
, the next user data will be fetched.

@ARC-MX
Copy link
Owner

ARC-MX commented Jan 22, 2025

国家电网网页在维护,都看不到吗?

@navee
Copy link

navee commented Jan 23, 2025

可能是官网调整了,浏览器进入页面正常,f12打开开发者工具电脑都会卡死

@stevenliuit
Copy link

2025-02-10 17:25:48 [INFO ] ---- Click login button.
2025-02-10 17:25:49 [INFO ] ---- Get electricity canvas image successfully.
No gaps were detected.
2025-02-10 17:25:49 [INFO ] ---- Image CaptCHA distance is 0.
2025-02-10 17:26:12 [INFO ] ---- Sliding CAPTCHA recognition failed and reloaded.
2025-02-10 17:26:45 [INFO ] ---- Get electricity canvas image successfully.
2025-02-10 17:26:45 [INFO ] ---- Image CaptCHA distance is 310.
2025-02-10 17:27:10 [INFO ] ---- Sliding CAPTCHA recognition failed and reloaded.
2025-02-10 17:27:43 [INFO ] ---- Get electricity canvas image successfully.
2025-02-10 17:27:43 [INFO ] ---- Image CaptCHA distance is 265.
2025-02-10 17:28:04 [INFO ] ---- Sliding CAPTCHA recognition failed and reloaded.
2025-02-10 17:28:04 [INFO ] ---- Sliding CAPTCHA recognition failed and reloaded.
2025-02-10 17:28:37 [INFO ] ---- Get electricity canvas image successfully.
2025-02-10 17:28:38 [INFO ] ---- Image CaptCHA distance is 91.
2025-02-10 17:29:01 [INFO ] ---- Sliding CAPTCHA recognition failed and reloaded.
2025-02-10 17:29:34 [INFO ] ---- Get electricity canvas image successfully.
2025-02-10 17:29:34 [INFO ] ---- Image CaptCHA distance is 156.
2025-02-10 17:29:58 [INFO ] ---- Sliding CAPTCHA recognition failed and reloaded.
2025-02-10 17:30:29 [ERROR ] ---- Login failed, maybe caused by Sliding CAPTCHA recognition failed
2025-02-10 17:30:29 [INFO ] ---- login unsuccessed !
2025-02-10 17:30:29 [ERROR ] ---- Webdriver quit abnormly, reason: login unsuccessed. 5 retry times left.
我的也是这样了

@freesilent
Copy link

可能是官网调整了,浏览器进入页面正常,f12打开开发者工具电脑都会卡死

arch下firefox可以打开f12工具,但是会碰到debugger语句,调试器暂停。

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