#22 os error 111

オープン
3 年 前avt によって開かれました · 0 コメント
avt3 年 前 にコメントしました

Добрый день!

Помогите, пожалуйста, начинающему. При запуске вот так получается

[avt@MiWiFi-RA69-srv triangletube]$ python start.py Загрузка...5 секунд.... Traceback (most recent call last): File "/home/avt/triangletube/start.py", line 16, in

driver = webdriver.Firefox(options=options)

File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/firefox/webdriver.py", line 170, in init

RemoteWebDriver.__init__(

File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init

self.start_session(capabilities, browser_profile)

File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session

response = self.execute(Command.NEW_SESSION, parameters)

File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute

self.error_handler.check_response(response)

File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response

raise exception_class(message, screen, stacktrace)

selenium.common.exceptions.TimeoutException: Message: Connection refused (os error 111)

Как решить? Спасибо.

Добрый день! Помогите, пожалуйста, начинающему. При запуске вот так получается [avt@MiWiFi-RA69-srv triangletube]$ python start.py Загрузка...5 секунд.... Traceback (most recent call last): File "/home/avt/triangletube/start.py", line 16, in <module> driver = webdriver.Firefox(options=options) File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/firefox/webdriver.py", line 170, in __init__ RemoteWebDriver.__init__( File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__ self.start_session(capabilities, browser_profile) File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: Connection refused (os error 111) Как решить? Спасибо.
会話に参加するには サインイン してください。
ラベルなし
マイルストーンなし
担当者なし
1 参加者
読み込み中…
キャンセル
保存
まだコンテンツがありません