You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to install on Ubuntu 22.04 LTS with CLI Mode. When I try to scrape some of the Amazon or any links, I get below error.
Can you help me fix the issue.
Regards,
Mark.
ERROR MESSAGE - Below
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 /opt/google/chrome/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Stacktrace: #0 0x55b705f1631a #1 0x55b705a2c6e0 #2 0x55b705a63dc8 #3 0x55b705a5f926 #4 0x55b705aab6f6 #5 0x55b705aaad46 #6 0x55b705a9f203 #7 0x55b705a6dcc0 #8 0x55b705a6ec9e #9 0x55b705ee3d0b #10 0x55b705ee7c92 #11 0x55b705ed0b3c #12 0x55b705ee8807 #13 0x55b705eb60df #14 0x55b705f05578 #15 0x55b705f05740 #16 0x55b705f15196 #17 0x7feab39deac3
Traceback:
File "/root/anaconda3/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 85, in exec_func_with_error_handling
result = func()
^^^^^^
File "/root/anaconda3/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 576, in code_to_exec
exec(code, module.dict)
File "/root/scrape-master/streamlit_app.py", line 117, in
st.session_state['driver'] = setup_selenium(attended_mode=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/scrape-master/scraper.py", line 65, in setup_selenium
driver = webdriver.Chrome(service=service, options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/anaconda3/lib/python3.12/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init
super().init(
File "/root/anaconda3/lib/python3.12/site-packages/selenium/webdriver/chromium/webdriver.py", line 66, in init
super().init(command_executor=executor, options=options)
File "/root/anaconda3/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 241, in init
self.start_session(capabilities)
File "/root/anaconda3/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 329, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/anaconda3/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 384, in execute
self.error_handler.check_response(response)
File "/root/anaconda3/lib/python3.12/site-packages/selenium/webdriver/remote/errorhandler.py", line 232, in check_response
raise exception_class(message, screen, stacktrace)
The text was updated successfully, but these errors were encountered:
Hi @reda-marzouk608,
Tried to install on Ubuntu 22.04 LTS with CLI Mode. When I try to scrape some of the Amazon or any links, I get below error.
Can you help me fix the issue.
Regards,
Mark.
ERROR MESSAGE - Below
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 /opt/google/chrome/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Stacktrace: #0 0x55b705f1631a #1 0x55b705a2c6e0 #2 0x55b705a63dc8 #3 0x55b705a5f926 #4 0x55b705aab6f6 #5 0x55b705aaad46 #6 0x55b705a9f203 #7 0x55b705a6dcc0 #8 0x55b705a6ec9e #9 0x55b705ee3d0b #10 0x55b705ee7c92 #11 0x55b705ed0b3c #12 0x55b705ee8807 #13 0x55b705eb60df #14 0x55b705f05578 #15 0x55b705f05740 #16 0x55b705f15196 #17 0x7feab39deac3
Traceback:
File "/root/anaconda3/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 85, in exec_func_with_error_handling
result = func()
^^^^^^
File "/root/anaconda3/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 576, in code_to_exec
exec(code, module.dict)
File "/root/scrape-master/streamlit_app.py", line 117, in
st.session_state['driver'] = setup_selenium(attended_mode=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/scrape-master/scraper.py", line 65, in setup_selenium
driver = webdriver.Chrome(service=service, options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/anaconda3/lib/python3.12/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init
super().init(
File "/root/anaconda3/lib/python3.12/site-packages/selenium/webdriver/chromium/webdriver.py", line 66, in init
super().init(command_executor=executor, options=options)
File "/root/anaconda3/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 241, in init
self.start_session(capabilities)
File "/root/anaconda3/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 329, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/anaconda3/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 384, in execute
self.error_handler.check_response(response)
File "/root/anaconda3/lib/python3.12/site-packages/selenium/webdriver/remote/errorhandler.py", line 232, in check_response
raise exception_class(message, screen, stacktrace)
The text was updated successfully, but these errors were encountered: