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

无法连接chromedriver #2502

Open
huoshenw opened this issue Sep 16, 2024 · 1 comment
Open

无法连接chromedriver #2502

huoshenw opened this issue Sep 16, 2024 · 1 comment

Comments

@huoshenw
Copy link

Qinglong version

2.17.11

Steps to reproduce

[21:50:26 INFO] 启动 Selenium
[21:50:26 INFO] 初始化完成
Traceback (most recent call last):
File "/ql/data/scripts/WowYiJiu_Linux.do-KeepAlive_main/Linux.do.py", line 459, in
linuxdo_browser.run()
File "/ql/data/scripts/WowYiJiu_Linux.do-KeepAlive_main/Linux.do.py", line 266, in run
self.driver = webdriver.Chrome(
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init
super().init(
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 55, in init
self.service.start()
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 109, in start
raise WebDriverException(f"Can not connect to the Service {self._path}")
selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service /usr/bin/chromedriver

What is expected?

如何配置

What is actually happening?

[21:50:26 INFO] 启动 Selenium
[21:50:26 INFO] 初始化完成
Traceback (most recent call last):
File "/ql/data/scripts/WowYiJiu_Linux.do-KeepAlive_main/Linux.do.py", line 459, in
linuxdo_browser.run()
File "/ql/data/scripts/WowYiJiu_Linux.do-KeepAlive_main/Linux.do.py", line 266, in run
self.driver = webdriver.Chrome(
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init
super().init(
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 55, in init
self.service.start()
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 109, in start
raise WebDriverException(f"Can not connect to the Service {self._path}")
selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service /usr/bin/chromedriver

System Info

No response

Any additional comments?

No response

@whyour
Copy link
Owner

whyour commented Sep 18, 2024

使用 whyour/qinglong:debain 镜像

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

2 participants