|
|
发表于 2025-11-10 11:49:41
|
显示全部楼层
本帖最后由 nicksnake 于 2025-11-10 11:52 编辑
以下是1.6.8 test报错信息
2025-11-10 11:28:33 [INFO ] ---- 当前以Homeassistant Add-on 形式运行.
2025-11-10 11:28:33 [INFO ] ---- The current repository version is v1.6.8-test2, and the repository
address is https://github.com/ARC-MX/sgcc_electricity_new.git
2025-11-10 11:28:33 [INFO ] ---- The current date is 2025-11-10 11:28:33.
2025-11-10 11:28:33 [INFO ] ---- start init ErrorWatcher
2025-11-10 11:28:33 [INFO ] ---- ErrorWatcher init done!
2025-11-10 11:28:34 [INFO ] ---- The current logged-in user name is 13868777673, the homeassistant
address is http://192.168.88.2:8123, and the program will be executed every day at 18:06.
2025-11-10 11:28:34 [INFO ] ---- Run job now! The next run will be at 18:06 and 06:06 every day
2025-11-10 11:28:34 [INFO ] ---- Open Firefox.
2025-11-10 11:29:00 [INFO ] ---- Webdriver initialized.
2025-11-10 11:29:54 [INFO ] ---- Open LOGIN_URL:https://95598.cn/osgweb/login.
2025-11-10 11:30:28 [INFO ] ---- find_element 'user'.
2025-11-10 11:30:53 [INFO ] ---- Click the Agree option.
2025-11-10 11:31:11 [INFO ] ---- input_elements username : ***
2025-11-10 11:31:14 [INFO ] ---- input_elements password : ***
2025-11-10 11:31:52 [INFO ] ---- Click login button.
2025-11-10 11:31:58 [INFO ] ---- Get electricity canvas image successfully.
2025-11-10 11:31:59 [INFO ] ---- Image CaptCHA distance is 325.
2025-11-10 11:32:25 [INFO ] ---- Sliding CAPTCHA recognition failed and reloaded.
2025-11-10 11:35:12 [ERROR ] ---- Error occurred: Message: Unable to locate element: //*
[@id="login_box"]/div[1]/div[1]/div[2]/span; For documentation on this error, please visit:
https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#nosuchelementexception
Stacktrace:
RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5
NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5
dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
. Screenshot saved to /data/errors/screenshots/error_20251110_113509.png
2025-11-10 11:35:12 [ERROR ] ---- Webdriver quit abnormly, reason: Message: Unable to locate element: //*
[@id="login_box"]/div[1]/div[1]/div[2]/span; For documentation on this error, please visit:
https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#nosuchelementexception
Stacktrace:
RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5
NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5
dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
. 5 retry times left. |
|