|
发表于 2024-12-28 16:57:24
|
显示全部楼层
本帖最后由 sbssver 于 2024-12-31 12:27 编辑
我登录报错,是哪里的问题
sgcc_electricity | 2024-12-28 16:53:18 [INFO ] ---- Get electricity canvas image successfully.
sgcc_electricity | 2024-12-28 16:53:18 [INFO ] ---- Image CaptCHA distance is 167.
sgcc_electricity | 2024-12-28 16:53:29 [INFO ] ---- Sliding CAPTCHA recognition failed and reloaded.
sgcc_electricity | 2024-12-28 16:53:49 [ERROR ] ---- Login failed, maybe caused by Sliding CAPTCHA recognition failed
sgcc_electricity | 2024-12-28 16:53:49 [INFO ] ---- login unsuccessed !
sgcc_electricity | 2024-12-28 16:53:49 [INFO ] ---- Login successfully on https://www.95598.cn/osgweb/login
sgcc_electricity | 2024-12-28 16:55:10 [ERROR ] ---- Webdriver quit abnormly, reason: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@class='el-dropdown']/span"}
sgcc_electricity | (Session info: chrome=120.0.6099.224)
sgcc_electricity | Stacktrace:
sgcc_electricity | #0 0x56921d673233 <unknown>
sgcc_electricity | #1 0x56921d33d0fe <unknown>
sgcc_electricity | #2 0x56921d386ba6 <unknown>
sgcc_electricity | #3 0x56921d386cc1 <unknown>
sgcc_electricity | #4 0x56921d3d4204 <unknown>
sgcc_electricity | #5 0x56921d3b444d <unknown>
sgcc_electricity | #6 0x56921d3d1680 <unknown>
sgcc_electricity | #7 0x56921d3b41a3 <unknown>
sgcc_electricity | #8 0x56921d37913e <unknown>
sgcc_electricity | #9 0x56921d37a712 <unknown>
sgcc_electricity | #10 0x56921d648534 <unknown>
sgcc_electricity | #11 0x56921d64b759 <unknown>
sgcc_electricity | #12 0x56921d64b238 <unknown>
sgcc_electricity | #13 0x56921d64bc05 <unknown>
sgcc_electricity | #14 0x56921d63aabf <unknown>
sgcc_electricity | #15 0x56921d64bf8e <unknown>
sgcc_electricity | #16 0x56921d624c86 <unknown>
sgcc_electricity | #17 0x56921d6643e5 <unknown>
sgcc_electricity | #18 0x56921d6645cb <unknown>
sgcc_electricity | #19 0x56921d6727bf <unknown>
sgcc_electricity | #20 0x7e717a513ea7 start_thread
sgcc_electricity | . 5 retry times left.
sgcc_electricity | 2024-12-28 16:55:10 [ERROR ] ---- state-refresh task failed, reason is [local variable 'user_id_list' referenced before assignment], 1 retry times left.
sgcc_electricity | 2024-12-28 16:55:21 [INFO ] ---- Webdriver initialized.
sgcc_electricity | 2024-12-28 16:55:24 [INFO ] ---- Open LOGIN_URL:https://www.95598.cn/osgweb/login.
sgcc_electricity | 2024-12-28 16:55:34 [INFO ] ---- find_element 'user'.
sgcc_electricity | 2024-12-28 16:55:44 [INFO ] ---- Click the Agree option.
sgcc_electricity | 2024-12-28 16:55:55 [INFO ] ---- input_elements username : ######
sgcc_electricity | 2024-12-28 16:55:55 [INFO ] ---- input_elements password : #########
sgcc_electricity | 2024-12-28 16:56:16 [INFO ] ---- Click login button.
sgcc_electricity | 2024-12-28 16:56:16 [INFO ] ---- Get electricity canvas image successfully.
sgcc_electricity | 2024-12-28 16:56:16 [INFO ] ---- Image CaptCHA distance is 296.
|
|