1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
| File "/home/pi/apti/lib/driver_open_close.py", line 23, in open_Driver
driver = webdriver.Chrome(service=service, options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/.venv/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in __init__
super().__init__(
File "/home/pi/.venv/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 66, in __init__
super().__init__(command_executor=executor, options=options)
File "/home/pi/.venv/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 250, in __init__
self.start_session(capabilities)
File "/home/pi/.venv/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 342, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/.venv/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 429, in execute
self.error_handler.check_response(response)
File "/home/pi/.venv/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 232, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally.
(session not created: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
#0 0x005559c72b50 <unknown>
#1 0x0055597effe4 <unknown>
#2 0x0055598214a8 <unknown>
#3 0x00555981da1c <unknown>
#4 0x005559862014 <unknown>
#5 0x0055598618c0 <unknown>
#6 0x0055598279b0 <unknown>
#7 0x0055598286c8 <unknown>
#8 0x005559c46958 <unknown>
#9 0x005559c49948 <unknown>
#10 0x005559c4952c <unknown>
#11 0x005559c38640 <unknown>
#12 0x005559c49f84 <unknown>
#13 0x005559c230a0 <unknown>
#14 0x005559c62404 <unknown>
#15 0x005559c625ec <unknown>
#16 0x005559c71b44 <unknown>
#17 0x007f90deee8c <unknown>
#18 0x007f90e57b18 <unknown>
|