Replies: 1 comment 1 reply
-
Hey. This issue is in a pinned issue (see #139). There are a few solutions I provided (this is fixed in the develop branch). Let me know if any of those solutions don’t work |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Platform = Windows 10 Home
Chrome Version 116.0.5845.111
I am getting the following error
Process Process-1:
Traceback (most recent call last):
File "C:\Users\jovil\auto-southwest-check-in\lib\webdriver.py", line 164, in init_driver
driver = Chrome(
^^^^^^^
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 61, in init
super().init(*args, **kwargs)
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver_init.py", line 429, in init
super(Chrome, self).init(
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\chrome\webdriver.py", line 84, in init
super().init(
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\chromium\webdriver.py", line 104, in init
super().init(
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\remote\webdriver.py", line 286, in init
self.start_session(capabilities, browser_profile)
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver_init_.py", line 715, in start_session
super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\remote\webdriver.py", line 378, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\remote\webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:59225
from session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 116.0.5845.111
Stacktrace:
Backtrace:
GetHandleVerifier [0x0046A813+48355]
(No symbol) [0x003FC4B1]
(No symbol) [0x00305358]
(No symbol) [0x003261AC]
(No symbol) [0x003206B4]
(No symbol) [0x00320491]
(No symbol) [0x00350C55]
(No symbol) [0x0035093C]
(No symbol) [0x0034A536]
(No symbol) [0x003282DC]
(No symbol) [0x003293DD]
GetHandleVerifier [0x006CAABD+2539405]
GetHandleVerifier [0x0070A78F+2800735]
GetHandleVerifier [0x0070456C+2775612]
GetHandleVerifier [0x004F51E0+616112]
(No symbol) [0x00405F8C]
(No symbol) [0x00402328]
(No symbol) [0x0040240B]
(No symbol) [0x003F4FF7]
BaseThreadInitThunk [0x76AA00C9+25]
RtlGetAppContainerNamedObjectPath [0x775F7B1E+286]
RtlGetAppContainerNamedObjectPath [0x775F7AEE+238]
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\jovil\auto-southwest-check-in\lib\reservation_monitor.py", line 41, in monitor
self._monitor()
File "C:\Users\jovil\auto-southwest-check-in\lib\reservation_monitor.py", line 156, in _monitor
reservations, skip_scheduling = self.get_reservations()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jovil\auto-southwest-check-in\lib\reservation_monitor.py", line 180, in get_reservations
reservations = webdriver.get_reservations(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jovil\auto-southwest-check-in\lib\webdriver.py", line 89, in get_reservations
driver = self.get_driver()
^^^^^^^^^^^^^^^^^^
File "C:\Users\jovil\auto-southwest-check-in\lib\webdriver.py", line 139, in get_driver
driver = self.init_driver()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\jovil\auto-southwest-check-in\lib\webdriver.py", line 181, in init_driver
raise RuntimeError(
RuntimeError: Failed to initialize the webdriver after 3 attempts
Exception ignored in: <function Chrome.del at 0x000001E82762A480>
Traceback (most recent call last):
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver_init.py", line 769, in del
self.quit()
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\seleniumwire\webdriver.py", line 68, in quit
super().quit()
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver_init.py", line 758, in quit
time.sleep(0.1)
OSError: [WinError 6] The handle is invalid
Exception ignored in: <function Chrome.del at 0x000001E82762A480>
Traceback (most recent call last):
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver_init.py", line 769, in del
self.quit()
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\seleniumwire\webdriver.py", line 68, in quit
super().quit()
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver_init.py", line 758, in quit
time.sleep(0.1)
OSError: [WinError 6] The handle is invalid
Exception ignored in: <function Chrome.del at 0x000001E82762A480>
Traceback (most recent call last):
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver_init.py", line 769, in del
self.quit()
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\seleniumwire\webdriver.py", line 68, in quit
super().quit()
File "C:\Users\jovil\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver_init.py", line 758, in quit
time.sleep(0.1)
OSError: [WinError 6] The handle is invalid
Beta Was this translation helpful? Give feedback.
All reactions