- 积分
- 148
- 金钱
- 126
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
注册会员
- 积分
- 148
- 金钱
- 126
- HASS币
- 0
|
试了arm系统不行,就j1900的群晖docker 安装也不行,有懂得帮忙看下日志
谢谢各位大佬
2023-07-03 15:35:04 [INFO ] ---- Webdriver initialized.
2023-07-03 15:35:38 [INFO ] ---- Login successfully on https://www.95598.cn/osgweb/login
Traceback (most recent call last):
File "/app/data_fetcher.py", line 30, in fetch
return self._fetch()
File "/app/data_fetcher.py", line 50, in _fetch
user_id_list = self._get_user_ids(driver)
File "/app/data_fetcher.py", line 184, in _get_user_ids
self._click_button(driver, By.XPATH, "//div[@class='el-dropdown']/span")
File "/app/data_fetcher.py", line 245, in _click_button
click_element = driver.find_element(button_search_type, button_search_key)
2023-07-03 15:36:00 [ERROR ] ---- Webdriver quit abnormly, reason: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@class='el-dropdown']/span"}
(Session info: headless chrome=89.0.4389.114)
Stacktrace:
#0 0x005588063d48 <unknown>
#1 0x0055880066cc <unknown>
#2 0x005587d99d84 <unknown>
#3 0x005587dc6e08 <unknown>
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 856, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 429, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response
raise exception_class(message, screen, stacktrace)
#4 0x005587df4ac8 <unknown>
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@class='el-dropdown']/span"}
(Session info: headless chrome=89.0.4389.114)
#5 0x005587dbdf50 <unknown>
#6 0x005587dbf3d4 <unknown>
#7 0x005588031ec8 <unknown>
Stacktrace:
#8 0x00558803faa0 <unknown>
#9 0x00558803f804 <unknown>
#10 0x005588043cbc <unknown>
#11 0x005588040240 <unknown>
#0 0x005588063d48 <unknown>
#12 0x00558802816c <unknown>
#1 0x0055880066cc <unknown>
#13 0x005588056b3c <unknown>
#2 0x005587d99d84 <unknown>
#3 0x005587dc6e08 <unknown>
#4 0x005587df4ac8 <unknown>
#5 0x005587dbdf50 <unknown>
#6 0x005587dbf3d4 <unknown>
#14 0x00558806e398 <unknown>
#7 0x005588031ec8 <unknown>
#8 0x00558803faa0 <unknown>
#15 0x007fbd45d7e4 start_thread
#16 0x007fbcb1c70c <unknown>
. 2 retry times left.
#9 0x00558803f804 <unknown>
#10 0x005588043cbc <unknown>
#11 0x005588040240 <unknown>
#12 0x00558802816c <unknown>
#13 0x005588056b3c <unknown>
#14 0x00558806e398 <unknown>
#15 0x007fbd45d7e4 start_thread
#16 0x007fbcb1c70c <unknown>
2023-07-03 15:36:32 [INFO ] ---- Webdriver initialized.
|
|