- 积分
- 370
- 金钱
- 334
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 370
- 金钱
- 334
- HASS币
- 0
|
发表于 2022-11-8 12:49:21
|
显示全部楼层
stdout: 2022-11-08 12:41:23 [ERROR ] ---- Webdriver quit abnormly, reason: Message: script timeout
stdout: (Session info: headless chrome=89.0.4389.114)
stdout: Stacktrace:
stdout: #0 0x005560c2ad48 <unknown>
stdout: #1 0x005560bcd6cc <unknown>
stdout: #2 0x005560960b50 <unknown>
stdout: #3 0x0055609bc388 <unknown>
stdout: #4 0x0055609bbac8 <unknown>
stdout: #5 0x005560984f50 <unknown>
stdout: #6 0x0055609863d4 <unknown>
stdout: #7 0x005560bf8ec8 <unknown>
stdout: #8 0x005560c06aa0 <unknown>
stdout: #9 0x005560c06804 <unknown>
stdout: #10 0x005560c0acbc <unknown>
stdout: #11 0x005560c07240 <unknown>
stdout: #12 0x005560bef16c <unknown>
stdout: #13 0x005560c1db3c <unknown>
stdout: #14 0x005560c35398 <unknown>
stdout: #15 0x007f877c77e4 start_thread
stdout: #16 0x007f86e8670c <unknown>
stdout: . 3 retry times left.
stderr: Traceback (most recent call last):
stderr: File "/app/data_fetcher.py", line 28, in fetch
stderr: return self._fetch()
stderr: File "/app/data_fetcher.py", line 43, in _fetch
stderr: self._login(driver)
stderr: File "/app/data_fetcher.py", line 79, in _login
stderr: img_src = captcha_element.find_element(By.TAG_NAME,"img").get_attribute("src")
stderr: File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 172, in get_attribute
stderr: attribute_value = self.parent.execute_script(
stderr: File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 492, in execute_script
stderr: return self.execute(command, {
stderr: File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 429, in execute
stderr: self.error_handler.check_response(response)
stderr: File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response
stderr: raise exception_class(message, screen, stacktrace)
stderr: selenium.common.exceptions.TimeoutException: Message: script timeout
stderr: (Session info: headless chrome=89.0.4389.114)
stderr: Stacktrace:
stderr: #0 0x005560c2ad48 <unknown>
stderr: #1 0x005560bcd6cc <unknown>
stderr: #2 0x005560960b50 <unknown>
stderr: #3 0x0055609bc388 <unknown>
stderr: #4 0x0055609bbac8 <unknown>
stderr: #5 0x005560984f50 <unknown>
stderr: #6 0x0055609863d4 <unknown>
stderr: #7 0x005560bf8ec8 <unknown>
stderr: #8 0x005560c06aa0 <unknown>
stderr: #9 0x005560c06804 <unknown>
stderr: #10 0x005560c0acbc <unknown>
stderr: #11 0x005560c07240 <unknown>
stderr: #12 0x005560bef16c <unknown>
stderr: #13 0x005560c1db3c <unknown>
stderr: #14 0x005560c35398 <unknown>
stderr: #15 0x007f877c77e4 start_thread
stderr: #16 0x007f86e8670c <unknown>
stderr:
stdout: 2022-11-08 12:42:00 [INFO ] ---- Webdriver initialized.
docker启动了报错 |
|